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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001991/0.001991, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.44/2.44, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 63.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8583, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001944/0.8603, allocations: 0.8767 MB / 0.9498 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001066/0.8604, allocations: 45.09 kB / 0.9498 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.8605, allocations: 1.25 kB / 0.9498 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.8605, allocations: 7.922 kB / 0.9498 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.8606, allocations: 5.531 kB / 0.9498 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-05/0.8606, allocations: 22.8 kB / 0.9499 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.8607, allocations: 54.89 kB / 0.9499 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.8609, allocations: 38.53 kB / 0.9499 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.8609, allocations: 24.39 kB / 0.95 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.861, allocations: 28.06 kB / 0.95 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.861, allocations: 4 kB / 0.95 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.861, allocations: 4 kB / 0.95 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.861, allocations: 18.58 kB / 0.95 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.8611, allocations: 38.67 kB / 0.9501 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.8612, allocations: 64.75 kB / 0.9501 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8612, allocations: 1.375 kB / 0.9501 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.8612, allocations: 0 / 0.9501 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8612, allocations: 0 / 0.9501 GB, free: 8.188 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.0003305/0.8616, allocations: 378.5 kB / 0.9505 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.8616, allocations: 9.625 kB / 0.9505 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.8616, allocations: 8.969 kB / 0.9505 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.8618, allocations: 195.2 kB / 0.9507 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.8618, allocations: 11.06 kB / 0.9507 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.8618, allocations: 5.875 kB / 0.9507 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8619, allocations: 94.72 kB / 0.9508 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.862, allocations: 192 / 0.9508 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.862, allocations: 5.312 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.862, allocations: 6.688 kB / 0.9508 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.8621, allocations: 39.17 kB / 0.9508 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.8625, allocations: 432.6 kB / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.8625, allocations: 41.31 kB / 0.9513 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.8626, allocations: 24.59 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.8626, allocations: 3.984 kB / 0.9513 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.8626, allocations: 31.94 kB / 0.9513 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.8626, allocations: 0 / 0.9513 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.8627, allocations: 55.23 kB / 0.9514 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.8628, allocations: 78.48 kB / 0.9515 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8629, allocations: 166.3 kB / 0.9516 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.8629, allocations: 27.08 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.863, allocations: 108 kB / 0.9518 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.863, allocations: 5.281 kB / 0.9518 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.863, allocations: 17.84 kB / 0.9518 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.863, allocations: 320.2 kB / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.8631, allocations: 8.125 kB / 0.9521 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.8631, allocations: 25.7 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.8631, allocations: 31.09 kB / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8631, allocations: 0 / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.808e-05/0.8632, allocations: 54.45 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8632, allocations: 5.656 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8632, allocations: 13.41 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8633, allocations: 0 / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.8633, allocations: 5.688 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.8633, allocations: 5.781 kB / 0.9522 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.8634, allocations: 5.094 kB / 0.9522 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.8634, allocations: 1.438 kB / 0.9522 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 4.622e-05/0.8634, allocations: 113 kB / 0.9523 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.8635, allocations: 9.062 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.8635, allocations: 18.64 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8635, allocations: 0 / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8635, allocations: 1.125 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8635, allocations: 1.375 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.8638, allocations: 481.5 kB / 0.9528 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8638, allocations: 5.25 kB / 0.9528 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.8638, allocations: 2.844 kB / 0.9528 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8638, allocations: 0 / 0.9528 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.8638, allocations: 5.281 kB / 0.9528 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.8638, allocations: 1.125 kB / 0.9529 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8638, allocations: 0 / 0.9529 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.893e-05/0.8639, allocations: 83.33 kB / 0.9529 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.8639, allocations: 91.77 kB / 0.953 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.8639, allocations: 5.297 kB / 0.953 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.864, allocations: 0 / 0.953 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.864, allocations: 1.469 kB / 0.953 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.864, allocations: 1.406 kB / 0.953 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.864, allocations: 125.1 kB / 0.9531 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8641, allocations: 0 / 0.9531 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001778/0.8642, allocations: 7.688 kB / 0.9532 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.943e-05/0.8643, allocations: 100 kB / 0.9532 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.8644, allocations: 14.12 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8644, allocations: 1.312 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.8644, allocations: 11.97 kB / 0.9533 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.8646, allocations: 18.55 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.8648, allocations: 171.2 kB / 0.9535 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.8649, allocations: 0.6994 MB / 0.9541 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.865, allocations: 8.109 kB / 0.9541 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.865, allocations: 15.75 kB / 0.9542 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.865, allocations: 0 / 0.9542 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.002193/0.8672, allocations: 442.5 kB / 0.9546 GB, free: 3.828 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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