Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008051/0.0008051, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.777/1.777, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.445e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001114/0.001128, allocations: 0.7858 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 8.064e-05/0.001209, allocations: 43.78 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.001244, allocations: 4 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.001271, allocations: 11.86 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.001323, allocations: 11.88 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.87e-05/0.001352, allocations: 15.98 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.001428, allocations: 63.77 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.001514, allocations: 31.97 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.001568, allocations: 39.84 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.03e-05/0.001608, allocations: 19.91 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.001626, allocations: 8 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-06/0.001632, allocations: 8 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.001646, allocations: 11.94 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.001668, allocations: 23.91 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.313e-05/0.001761, allocations: 75.69 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.001763, allocations: 0 / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001763, allocations: 0 / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.001767, allocations: 0 / 1.002 GB, free: 11.88 MB / 0.9636 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.0002679/0.002035, allocations: 302 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.002062, allocations: 12.75 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.002083, allocations: 8.891 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.002195, allocations: 137.5 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.002204, allocations: 8.375 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.002213, allocations: 8.375 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.002312, allocations: 95.84 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-06/0.002317, allocations: 4.125 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.002326, allocations: 8.375 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.002331, allocations: 4.375 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.002381, allocations: 39.86 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.002658, allocations: 360.5 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.002694, allocations: 33.22 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.002718, allocations: 21.78 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.002724, allocations: 4 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.002739, allocations: 34.5 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.00274, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001013/0.002841, allocations: 49.64 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.002869, allocations: 85.05 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.002939, allocations: 132.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.002946, allocations: 29.64 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.003051, allocations: 116.2 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.003057, allocations: 7.953 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.003078, allocations: 13.72 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.003143, allocations: 318.8 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.003153, allocations: 4 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.003168, allocations: 21.72 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.003196, allocations: 25.72 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.003197, allocations: 3.938 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.587e-05/0.003243, allocations: 57.67 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.003252, allocations: 4 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.003255, allocations: 0 / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.003264, allocations: 4 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-05/0.003299, allocations: 4 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.003304, allocations: 7.875 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.003316, allocations: 4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-06/0.003319, allocations: 0 / 1.004 GB, free: 9.734 MB / 0.9636 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.807e-05/0.003367, allocations: 117.8 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.003386, allocations: 8.047 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.003401, allocations: 15.48 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.003402, allocations: 0 / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.003405, allocations: 4 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003408, allocations: 3.938 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.003614, allocations: 414.4 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003615, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-06/0.003621, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.003622, allocations: 7.938 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.003627, allocations: 3.938 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.003628, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003629, allocations: 64 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.708e-05/0.003676, allocations: 82.66 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.003688, allocations: 8 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.003696, allocations: 3.938 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-06/0.003706, allocations: 8 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.003716, allocations: 7.984 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-07/0.003717, allocations: 0 / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.003753, allocations: 95.27 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.003753, allocations: 4 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001154/0.003869, allocations: 7.953 kB / 1.005 GB, free: 8.879 MB / 0.9636 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 5.523e-05/0.003924, allocations: 103.3 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.143e-05/0.003975, allocations: 15.94 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.003976, allocations: 0 / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.003983, allocations: 11.92 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.767e-05/0.00408, allocations: 5.562 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.004293, allocations: 188.3 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.004335, allocations: 83.56 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.004354, allocations: 12.5 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.004354, allocations: 0 / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.001433/0.005787, allocations: 0.7936 MB / 1.006 GB, free: 7.602 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 6.2953664949163795]