Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 12 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.957/0.9574, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009992/0.9584, allocations: 0.5151 MB / 0.9549 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001088/0.9586, allocations: 45.06 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.9586, allocations: 2.375 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.9587, allocations: 3.938 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.9587, allocations: 5.203 kB / 0.955 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.084e-05/0.9588, allocations: 11.41 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.9589, allocations: 52.84 kB / 0.9551 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.959, allocations: 34.81 kB / 0.9551 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.9591, allocations: 21.86 kB / 0.9551 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.9592, allocations: 19.92 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.9592, allocations: 1.188 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.9592, allocations: 2.562 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.9592, allocations: 5.438 kB / 0.9551 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.9592, allocations: 37.14 kB / 0.9552 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.527e-05/0.9593, allocations: 46.86 kB / 0.9552 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9593, allocations: 0 / 0.9552 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9593, allocations: 4 kB / 0.9552 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9594, allocations: 0 / 0.9552 GB, free: 7.137 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.0003553/0.9597, allocations: 372.7 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.9598, allocations: 9.469 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.9598, allocations: 15.7 kB / 0.9556 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.96, allocations: 189.3 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.96, allocations: 7.688 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.96, allocations: 4.562 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.9602, allocations: 96.16 kB / 0.9559 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9602, allocations: 3.938 kB / 0.9559 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9602, allocations: 9.312 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.9602, allocations: 2.375 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.9603, allocations: 39.44 kB / 0.9559 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.9608, allocations: 433.7 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/0.9609, allocations: 40.5 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.9609, allocations: 24.52 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.9609, allocations: 0 / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.961, allocations: 39.47 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.961, allocations: 0 / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.9611, allocations: 47.05 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.9612, allocations: 82.23 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.9613, allocations: 163.5 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.9613, allocations: 25.7 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.9614, allocations: 108.4 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.9614, allocations: 9.219 kB / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9614, allocations: 4 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.9615, allocations: 321.6 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.9615, allocations: 6.906 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.9615, allocations: 19.31 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.9615, allocations: 7.797 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9615, allocations: 5.156 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.169e-05/0.9616, allocations: 58.7 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9616, allocations: 6.844 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9616, allocations: 0 / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9617, allocations: 1.406 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.9617, allocations: 9.359 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/0.9617, allocations: 0.9688 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.9618, allocations: 2.062 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.9618, allocations: 1.125 kB / 0.9573 GB, free: 5.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.9619, allocations: 121.5 kB / 0.9574 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.9619, allocations: 7.594 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.962, allocations: 11.47 kB / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.962, allocations: 0 / 0.9574 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.962, allocations: 5.797 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.962, allocations: 4.078 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.9623, allocations: 482.8 kB / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9623, allocations: 0 / 0.9579 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.9623, allocations: 7.062 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9623, allocations: 1.062 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.9623, allocations: 5.062 kB / 0.9579 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.9623, allocations: 3.938 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9623, allocations: 1.031 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.9624, allocations: 85.81 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.9625, allocations: 84.92 kB / 0.9581 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.9625, allocations: 1.156 kB / 0.9581 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.9625, allocations: 0 / 0.9581 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.9625, allocations: 9.234 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.9625, allocations: 1.031 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.9626, allocations: 118.9 kB / 0.9582 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9626, allocations: 5.188 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001852/0.9628, allocations: 14.36 kB / 0.9582 GB, free: 4.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.9629, allocations: 104.4 kB / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.963, allocations: 14.16 kB / 0.9583 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.963, allocations: 0 / 0.9583 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.963, allocations: 8.688 kB / 0.9583 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.9632, allocations: 7.812 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.9636, allocations: 182.1 kB / 0.9585 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.9637, allocations: 0.6909 MB / 0.9592 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.9638, allocations: 12.95 kB / 0.9592 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.9638, allocations: 12.16 kB / 0.9592 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.9638, allocations: 0 / 0.9592 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.002721/0.9665, allocations: 413.8 kB / 0.9596 GB, free: 2.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches