Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 109.7 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 191.7 kB / 20.03 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 67.88 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.149, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002624/1.151, allocations: 0.8277 MB / 1.263 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00015/1.151, allocations: 37.14 kB / 1.263 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/1.151, allocations: 5.375 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/1.152, allocations: 6.094 kB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/1.152, allocations: 14.44 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.141e-05/1.152, allocations: 26.34 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/1.152, allocations: 55.05 kB / 1.264 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/1.152, allocations: 45.56 kB / 1.264 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/1.152, allocations: 26.31 kB / 1.264 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/1.152, allocations: 30.94 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/1.152, allocations: 6.125 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/1.152, allocations: 6.031 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/1.152, allocations: 16.45 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/1.152, allocations: 32.78 kB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/1.152, allocations: 81.12 kB / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.152, allocations: 0.75 kB / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.152, allocations: 0 / 1.264 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.153, allocations: 0.9062 kB / 1.264 GB, free: 7.262 MB / 0.9981 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.0004327/1.153, allocations: 384 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.153, allocations: 9 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/1.153, allocations: 10.98 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/1.153, allocations: 188.4 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.153, allocations: 11.56 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/1.153, allocations: 9.344 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/1.153, allocations: 98.48 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.153, allocations: 192 / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.154, allocations: 5.297 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.154, allocations: 2.594 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/1.154, allocations: 39.39 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/1.154, allocations: 433.9 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/1.154, allocations: 45.78 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/1.154, allocations: 17.28 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/1.154, allocations: 0.5938 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/1.154, allocations: 40.77 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.154, allocations: 0 / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/1.154, allocations: 56.27 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/1.155, allocations: 79.3 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.155, allocations: 159.8 kB / 1.265 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/1.155, allocations: 26.95 kB / 1.265 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/1.155, allocations: 115.2 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/1.155, allocations: 5.578 kB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/1.155, allocations: 17.73 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.155, allocations: 320.1 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/1.155, allocations: 8.625 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/1.155, allocations: 24.02 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/1.155, allocations: 30.91 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.155, allocations: 0 / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.35e-05/1.155, allocations: 62.23 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.155, allocations: 5.094 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.155, allocations: 5.438 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.155, allocations: 0.6562 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/1.155, allocations: 6.5 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.155, allocations: 0.7812 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/1.155, allocations: 11.22 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.155, allocations: 5 kB / 1.266 GB, free: 5.168 MB / 0.9981 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.193e-05/1.155, allocations: 114 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/1.155, allocations: 8.453 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/1.155, allocations: 20.38 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.155, allocations: 0.875 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.155, allocations: 5.438 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.155, allocations: 1.031 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/1.156, allocations: 470 kB / 1.266 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.156, allocations: 0.9062 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/1.156, allocations: 3.766 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.156, allocations: 0.6562 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.156, allocations: 1.344 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.156, allocations: 5.344 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.156, allocations: 0.6875 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/1.156, allocations: 84.22 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/1.156, allocations: 87.52 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.156, allocations: 0.6562 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/1.156, allocations: 1.484 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/1.156, allocations: 1.406 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.156, allocations: 6.047 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.825e-05/1.156, allocations: 120.7 kB / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 32 / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000193/1.156, allocations: 12.09 kB / 1.267 GB, free: 4.258 MB / 0.9981 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.0001077/1.156, allocations: 100.1 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.461e-05/1.156, allocations: 16.41 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.156, allocations: 0 / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/1.156, allocations: 8.828 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/1.157, allocations: 13.09 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/1.157, allocations: 191.7 kB / 1.267 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/1.157, allocations: 0.692 MB / 1.268 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/1.157, allocations: 15.94 kB / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of SimCode: time 1.91e-07/1.157, allocations: 0 / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.00269/1.16, allocations: 0.873 MB / 1.269 GB, free: 3.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.516345442971215]