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.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.0008844/0.0008844, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000905/0.000905, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8651/0.8651, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.67 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.435e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001713/0.001737, allocations: 0.7829 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.001839, allocations: 39.78 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.001884, allocations: 7.938 kB / 1 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.00192, allocations: 11.86 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.001995, allocations: 11.92 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.004e-05/0.002035, allocations: 19.98 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.002144, allocations: 67.77 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.00227, allocations: 23.98 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.002359, allocations: 39.89 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.0024, allocations: 19.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.002425, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.002432, allocations: 8 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.002452, allocations: 15.91 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.002479, allocations: 15.94 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.002584, allocations: 91.56 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.002587, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.422e-06/0.002589, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.002593, allocations: 0 / 1.001 GB, free: 12.3 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.0003561/0.002949, allocations: 302 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.002997, allocations: 12.73 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.003034, allocations: 42.73 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.003061, allocations: 8.891 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.003215, allocations: 125.7 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003225, allocations: 8.375 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003233, allocations: 8.375 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.003356, allocations: 103.8 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.003362, allocations: 192 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.003371, allocations: 4.375 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.003379, allocations: 8.125 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.003438, allocations: 35.92 kB / 1.001 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.003832, allocations: 387.9 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.00388, allocations: 37.19 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.00391, allocations: 29.83 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.003917, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003937, allocations: 38.56 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003938, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.004081, allocations: 49.59 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.00412, allocations: 81.05 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.004229, allocations: 160.1 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.00424, allocations: 25.7 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.004294, allocations: 108 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.004302, allocations: 16.08 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.004329, allocations: 25.64 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.004405, allocations: 314.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.004421, allocations: 8 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.00444, allocations: 17.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.004474, allocations: 33.66 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004476, allocations: 0 / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.117e-05/0.004537, allocations: 57.58 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.004553, allocations: 10.34 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.004559, allocations: 4.062 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.004571, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.004626, allocations: 7.938 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.004632, allocations: 4 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.004652, allocations: 7.953 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.004655, allocations: 0 / 1.003 GB, free: 10.04 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 5.645e-05/0.004712, allocations: 113.8 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.004733, allocations: 7.953 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.004751, allocations: 11.8 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.004753, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.004758, allocations: 11.94 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.00476, allocations: 0 / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.005014, allocations: 433.9 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.005015, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.005029, allocations: 7.938 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.005031, allocations: 0 / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.005036, allocations: 0 / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.005038, allocations: 4 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005039, allocations: 0 / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.177e-05/0.005091, allocations: 78.72 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.005113, allocations: 23.86 kB / 1.003 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005122, allocations: 0 / 1.003 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.005132, allocations: 4 kB / 1.003 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.005144, allocations: 4 kB / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005146, allocations: 0 / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.0052, allocations: 121.5 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0052, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001215/0.005322, allocations: 11.94 kB / 1.004 GB, free: 9.133 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 0.0002356/0.005558, allocations: 0.6171 MB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.005629, allocations: 20 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005631, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.005638, allocations: 11.94 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.005752, allocations: 7.938 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.006577, allocations: 1.348 MB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.006627, allocations: 83.56 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.006654, allocations: 12.47 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.006695, allocations: 24.5 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.006696, allocations: 0 / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.02028, allocations: 2.224 MB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.392/6.412, allocations: 5.359 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.419180171564221]