Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 192 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5151, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001782/0.517, allocations: 0.8727 MB / 0.9501 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.5171, allocations: 49.22 kB / 0.9501 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.5171, allocations: 1.375 kB / 0.9501 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.5172, allocations: 9.297 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.5172, allocations: 3.938 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.668e-05/0.5173, allocations: 16.11 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.5174, allocations: 59.3 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.5175, allocations: 48.31 kB / 0.9503 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.5176, allocations: 24.94 kB / 0.9503 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.5176, allocations: 36.53 kB / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.5176, allocations: 5.656 kB / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.5176, allocations: 5.406 kB / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.5177, allocations: 15.56 kB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.5177, allocations: 30.05 kB / 0.9504 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.088e-05/0.5178, allocations: 74.52 kB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5178, allocations: 0 / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5178, allocations: 1.156 kB / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5178, allocations: 0 / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002884/0.5181, allocations: 386.1 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5181, allocations: 9.219 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.5182, allocations: 37.31 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.5182, allocations: 14.59 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5183, allocations: 197.2 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.5184, allocations: 3.656 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.5184, allocations: 9.531 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.5185, allocations: 95.03 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5185, allocations: 7.938 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5185, allocations: 5.25 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5185, allocations: 2.562 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.5186, allocations: 35.11 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.519, allocations: 441.7 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.5191, allocations: 41.34 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.5191, allocations: 18.38 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.5191, allocations: 1.625 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.5191, allocations: 35.97 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5191, allocations: 0 / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001417/0.5193, allocations: 62.81 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.5193, allocations: 82.23 kB / 0.9519 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5194, allocations: 163.3 kB / 0.952 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.5194, allocations: 25.7 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.5195, allocations: 111.7 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.5195, allocations: 5.062 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.5195, allocations: 17.66 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.5195, allocations: 321.6 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.5196, allocations: 7.219 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.5196, allocations: 19.12 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.5196, allocations: 26.06 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5196, allocations: 0 / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.735e-05/0.5197, allocations: 63.5 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5197, allocations: 9.781 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5197, allocations: 0 / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5197, allocations: 1.531 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.5198, allocations: 4.5 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5198, allocations: 6.156 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.5198, allocations: 2.031 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.5198, allocations: 3.984 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.5199, allocations: 113.6 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.5199, allocations: 15.91 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.52, allocations: 7.781 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.52, allocations: 0 / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.52, allocations: 1.375 kB / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.52, allocations: 0 / 0.9528 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.5202, allocations: 474 kB / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5202, allocations: 4.953 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.5203, allocations: 7.031 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5203, allocations: 1.531 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5203, allocations: 0 / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5203, allocations: 1.344 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5203, allocations: 4 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.357e-05/0.5203, allocations: 82.34 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.5204, allocations: 93.19 kB / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.5204, allocations: 4.031 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.5204, allocations: 1.375 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.5204, allocations: 9.25 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.5204, allocations: 1.438 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.5205, allocations: 119.9 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5205, allocations: 0 / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001848/0.5207, allocations: 11.09 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.5209, allocations: 0.6168 MB / 0.9541 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.521, allocations: 19.2 kB / 0.9542 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.521, allocations: 0 / 0.9542 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.521, allocations: 12.62 kB / 0.9542 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.5212, allocations: 11.03 kB / 0.9542 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.522, allocations: 1.343 MB / 0.9555 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.5221, allocations: 0.698 MB / 0.9562 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.5222, allocations: 9.078 kB / 0.9562 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.5222, allocations: 27.14 kB / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5222, allocations: 0 / 0.9562 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.534, allocations: 1.461 MB / 0.9576 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.5342, allocations: 204.6 kB / 0.9578 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.255, allocations: 1.781 kB / 0.9578 GB, free: 1.398 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches