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.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: 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.001712/0.001712, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002068/0.002068, allocations: 191.8 kB / 16.25 MB, free: 6.594 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.632/1.632, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.514/2.514, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8598, allocations: 140.3 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001848/0.8617, allocations: 0.8803 MB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.191e-05/0.8618, allocations: 46.06 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.8618, allocations: 1.625 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.8619, allocations: 7.875 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.862, allocations: 3.938 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.016e-05/0.862, allocations: 19.7 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.8621, allocations: 56.69 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.8622, allocations: 43.44 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.8623, allocations: 28.58 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.8623, allocations: 32.77 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.8623, allocations: 5.219 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.8624, allocations: 5.562 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.8624, allocations: 14.73 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.8624, allocations: 35.14 kB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.882e-05/0.8625, allocations: 70.25 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8625, allocations: 3.984 kB / 0.9503 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8625, allocations: 4 kB / 0.9503 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8625, allocations: 1.469 kB / 0.9503 GB, free: 8.18 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.0003012/0.8628, allocations: 374.3 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.8629, allocations: 8.25 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.8629, allocations: 10.34 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.863, allocations: 193.8 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.863, allocations: 8.5 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8631, allocations: 8.5 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.8632, allocations: 94.08 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8632, allocations: 192 / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8632, allocations: 5.312 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8632, allocations: 1.375 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.8633, allocations: 40.55 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.8637, allocations: 440.5 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.355e-05/0.8638, allocations: 41.41 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.8638, allocations: 19.22 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.8638, allocations: 1.375 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.8638, allocations: 35.94 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8638, allocations: 0 / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.864, allocations: 57.84 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.864, allocations: 78.48 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8641, allocations: 163.6 kB / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.8641, allocations: 29.64 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.8642, allocations: 108.2 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.8642, allocations: 17.27 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.8642, allocations: 17.78 kB / 0.952 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.8643, allocations: 321.6 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.8643, allocations: 6.75 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.8643, allocations: 19.2 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.8643, allocations: 29.97 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8643, allocations: 0 / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.666e-05/0.8644, allocations: 58.84 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8644, allocations: 8.5 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8644, allocations: 3.938 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8645, allocations: 1.156 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.8645, allocations: 4.812 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8645, allocations: 1.062 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.8646, allocations: 2 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.8646, allocations: 1.531 kB / 0.9524 GB, free: 6.02 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 5.244e-05/0.8646, allocations: 125.3 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.8647, allocations: 8.031 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.8647, allocations: 14.66 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8647, allocations: 1.344 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8647, allocations: 0 / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8647, allocations: 1.438 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.865, allocations: 477.5 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.865, allocations: 1.531 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.865, allocations: 6.516 kB / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.865, allocations: 1.5 kB / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.865, allocations: 0 / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.865, allocations: 1.75 kB / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.865, allocations: 0 / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.65e-05/0.8651, allocations: 79.03 kB / 0.9531 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.8651, allocations: 95.59 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.8652, allocations: 5.25 kB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.8652, allocations: 0 / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.8652, allocations: 5.312 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.8652, allocations: 1.25 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.8653, allocations: 121 kB / 0.9533 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8653, allocations: 0 / 0.9533 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001841/0.8655, allocations: 7.75 kB / 0.9533 GB, free: 5.066 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 8.801e-05/0.8656, allocations: 104.1 kB / 0.9534 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.8656, allocations: 18.77 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8657, allocations: 0 / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.8657, allocations: 12.53 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.8658, allocations: 14.77 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.8661, allocations: 182.8 kB / 0.9537 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.8662, allocations: 0.6949 MB / 0.9543 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.8662, allocations: 12.48 kB / 0.9543 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.8663, allocations: 11.06 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8663, allocations: 0 / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002265/0.8685, allocations: 452.5 kB / 0.9548 GB, free: 3.82 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