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.006953/0.006953, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001374/0.001374, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.91 kB / 0.9509 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002058/1.103, allocations: 0.8266 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/1.103, allocations: 41.16 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/1.103, allocations: 1.406 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/1.103, allocations: 5.297 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/1.104, allocations: 14.56 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.268e-05/1.104, allocations: 17.25 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/1.104, allocations: 70.59 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/1.104, allocations: 36.78 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/1.104, allocations: 26.92 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/1.104, allocations: 30.31 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/1.104, allocations: 5.281 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/1.104, allocations: 6.125 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/1.104, allocations: 13.09 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/1.104, allocations: 36.62 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/1.104, allocations: 79.42 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.104, allocations: 1.125 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/1.104, allocations: 0 / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.104, allocations: 0 / 1.089 GB, free: 4.789 MB / 0.8575 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.0004273/1.105, allocations: 380.6 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.105, allocations: 9.906 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/1.105, allocations: 9.828 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/1.105, allocations: 192.3 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.105, allocations: 19.7 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.105, allocations: 5.375 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/1.105, allocations: 90.69 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.105, allocations: 192 / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.105, allocations: 9.094 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.105, allocations: 2.094 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/1.106, allocations: 35.67 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/1.106, allocations: 443 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/1.106, allocations: 41.83 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.106, allocations: 24.8 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/1.106, allocations: 4 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/1.106, allocations: 32.44 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.106, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/1.106, allocations: 57.14 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.106, allocations: 78.27 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/1.107, allocations: 162.9 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/1.107, allocations: 26.98 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/1.107, allocations: 114.9 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/1.107, allocations: 6.141 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/1.107, allocations: 14.61 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/1.107, allocations: 318.5 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/1.107, allocations: 9.203 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/1.107, allocations: 19.33 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/1.107, allocations: 30.8 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.107, allocations: 0.8438 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.967e-05/1.107, allocations: 56.92 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.107, allocations: 6.156 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.107, allocations: 5.281 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.107, allocations: 4 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/1.107, allocations: 6.391 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.107, allocations: 5.75 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/1.107, allocations: 18.02 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/1.107, allocations: 2 kB / 1.091 GB, free: 2.691 MB / 0.8575 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.139e-05/1.107, allocations: 114.4 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/1.107, allocations: 8.734 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/1.107, allocations: 12.53 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.107, allocations: 1.125 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.107, allocations: 1.094 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.107, allocations: 0.5625 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/1.108, allocations: 475.3 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.108, allocations: 0 / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/1.108, allocations: 4.219 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.108, allocations: 1.281 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.108, allocations: 0.6562 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.108, allocations: 8.906 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.108, allocations: 1.031 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.619e-05/1.108, allocations: 80.27 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/1.108, allocations: 91.28 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/1.108, allocations: 1.578 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/1.108, allocations: 0 / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/1.108, allocations: 3.422 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/1.108, allocations: 0 / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.241e-05/1.108, allocations: 122.3 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.108, allocations: 4.031 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001815/1.108, allocations: 15.23 kB / 1.092 GB, free: 1.777 MB / 0.8575 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.0001058/1.108, allocations: 104.9 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.62e-05/1.108, allocations: 16.25 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.108, allocations: 3.938 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/1.109, allocations: 8.156 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/1.109, allocations: 14.67 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/1.109, allocations: 162.1 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/1.109, allocations: 0.6921 MB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.74e-05/1.109, allocations: 7.266 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/1.109, allocations: 10.91 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.109, allocations: 4 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Templates: time 0.002818/1.112, allocations: 455.6 kB / 1.094 GB, free: 0.7305 MB / 0.8575 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