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.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.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.001034/0.001034, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 183.4 kB / 16.92 MB, free: 6.895 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.262 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.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 16 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7146, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0009589/0.7157, allocations: 0.537 MB / 0.9562 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.7158, allocations: 45.72 kB / 0.9563 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.7158, allocations: 1.156 kB / 0.9563 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.7159, allocations: 7.922 kB / 0.9563 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.716, allocations: 5.062 kB / 0.9563 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.434e-05/0.716, allocations: 19.14 kB / 0.9563 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.7161, allocations: 51.89 kB / 0.9564 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.7163, allocations: 37.5 kB / 0.9564 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.7163, allocations: 22.83 kB / 0.9564 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.7164, allocations: 23.77 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.7164, allocations: 1.469 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.7164, allocations: 1.312 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.7164, allocations: 10.52 kB / 0.9565 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.7165, allocations: 59.17 kB / 0.9565 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.751e-05/0.7165, allocations: 52.09 kB / 0.9566 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7165, allocations: 0 / 0.9566 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7166, allocations: 0 / 0.9566 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7166, allocations: 1.219 kB / 0.9566 GB, free: 7.031 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.000345/0.7169, allocations: 356.3 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.717, allocations: 9.594 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.717, allocations: 17.91 kB / 0.9569 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.7172, allocations: 198.1 kB / 0.9571 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.7172, allocations: 4.188 kB / 0.9571 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.7172, allocations: 13 kB / 0.9571 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.7174, allocations: 89.86 kB / 0.9572 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7174, allocations: 192 / 0.9572 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7174, allocations: 7.938 kB / 0.9572 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7174, allocations: 3 kB / 0.9572 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.7175, allocations: 39.77 kB / 0.9573 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.718, allocations: 433.8 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.718, allocations: 41.42 kB / 0.9577 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.7181, allocations: 26.67 kB / 0.9577 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.7181, allocations: 0.7812 kB / 0.9577 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.7181, allocations: 36.12 kB / 0.9578 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7181, allocations: 0 / 0.9578 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.7183, allocations: 54.77 kB / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.7183, allocations: 86.41 kB / 0.9579 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.7185, allocations: 160.1 kB / 0.9581 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7185, allocations: 33.69 kB / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.7185, allocations: 101.4 kB / 0.9582 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.7185, allocations: 7.891 kB / 0.9582 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.7186, allocations: 11.31 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.7186, allocations: 317.3 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.7186, allocations: 11.45 kB / 0.9585 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.7187, allocations: 14.5 kB / 0.9585 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.7187, allocations: 34.41 kB / 0.9586 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7187, allocations: 0 / 0.9586 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.996e-05/0.7188, allocations: 59.03 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7188, allocations: 5.531 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7188, allocations: 3.938 kB / 0.9586 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7189, allocations: 1.125 kB / 0.9586 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.7189, allocations: 5.562 kB / 0.9586 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7189, allocations: 5.25 kB / 0.9587 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.719, allocations: 10.31 kB / 0.9587 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.719, allocations: 0.9688 kB / 0.9587 GB, free: 4.875 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 6.194e-05/0.719, allocations: 113.8 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.7191, allocations: 7.531 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.7191, allocations: 14.8 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7191, allocations: 4.844 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7191, allocations: 4.938 kB / 0.9588 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7191, allocations: 0 / 0.9588 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.7194, allocations: 475.3 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7194, allocations: 0 / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.7195, allocations: 3.719 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7195, allocations: 0 / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.7195, allocations: 1.406 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7195, allocations: 1.062 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7195, allocations: 3.984 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.739e-05/0.7196, allocations: 82.09 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.7196, allocations: 96.62 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.7196, allocations: 1.094 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.7197, allocations: 0.9375 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.7197, allocations: 0.875 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.7197, allocations: 1.062 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.7198, allocations: 124.7 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7198, allocations: 0 / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001872/0.72, allocations: 6.781 kB / 0.9596 GB, free: 3.93 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.0001078/0.7201, allocations: 100.1 kB / 0.9597 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.7202, allocations: 26.2 kB / 0.9597 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7202, allocations: 0 / 0.9597 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.7202, allocations: 4.281 kB / 0.9597 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.7204, allocations: 15.59 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.7207, allocations: 202.3 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.7208, allocations: 0.6995 MB / 0.9606 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.7208, allocations: 14.72 kB / 0.9606 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7208, allocations: 0 / 0.9606 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.002225/0.7231, allocations: 0.8528 MB / 0.9614 GB, free: 2.445 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/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