Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001406/0.001406, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001362/0.001362, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.853, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002153/0.8551, allocations: 0.8403 MB / 1.214 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.8552, allocations: 44.19 kB / 1.214 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.8553, allocations: 2.156 kB / 1.214 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.8553, allocations: 15.86 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.8554, allocations: 5.094 kB / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.623e-05/0.8554, allocations: 19.27 kB / 1.214 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.8556, allocations: 66.98 kB / 1.214 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.8557, allocations: 30.56 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.8558, allocations: 28.2 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.8558, allocations: 24.05 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.8558, allocations: 6.375 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.8559, allocations: 5.844 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.8559, allocations: 22.31 kB / 1.214 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.8559, allocations: 34.28 kB / 1.214 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.856, allocations: 71.83 kB / 1.214 GB, free: 2.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.856, allocations: 3.938 kB / 1.214 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.856, allocations: 1.062 kB / 1.214 GB, free: 2.926 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8561, allocations: 3.984 kB / 1.214 GB, free: 2.922 MB / 0.92 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.0005108/0.8566, allocations: 378.1 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8566, allocations: 10.72 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.8566, allocations: 48.83 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.8567, allocations: 13.38 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.8569, allocations: 206.5 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.8569, allocations: 3.594 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.8569, allocations: 8.812 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.8571, allocations: 92.42 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8571, allocations: 3.938 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8571, allocations: 5.297 kB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.8571, allocations: 2.594 kB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.8572, allocations: 38.98 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.8578, allocations: 432.7 kB / 1.215 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.8578, allocations: 45.25 kB / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.8579, allocations: 14.75 kB / 1.215 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.8579, allocations: 5.062 kB / 1.215 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.8579, allocations: 39.67 kB / 1.215 GB, free: 1.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8579, allocations: 0 / 1.215 GB, free: 1.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.8581, allocations: 55.03 kB / 1.215 GB, free: 1.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.8582, allocations: 78.23 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.8583, allocations: 157.8 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8583, allocations: 31.05 kB / 1.216 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.8584, allocations: 104.2 kB / 1.216 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.8584, allocations: 4.953 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.8585, allocations: 18 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8586, allocations: 319.8 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.8586, allocations: 4.406 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.8587, allocations: 22.7 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.539e-05/0.8587, allocations: 26.22 kB / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8587, allocations: 0 / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.057e-05/0.8588, allocations: 63.39 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8588, allocations: 9.312 kB / 1.216 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8588, allocations: 0 / 1.216 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.8588, allocations: 1.094 kB / 1.216 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.8589, allocations: 13.08 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8589, allocations: 1.469 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.8589, allocations: 9.781 kB / 1.216 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.8589, allocations: 10.12 kB / 1.216 GB, free: 0.6914 MB / 0.92 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 9.364e-05/0.859, allocations: 113.1 kB / 1.216 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.8591, allocations: 16.2 kB / 1.216 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.8591, allocations: 14.2 kB / 1.216 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.8591, allocations: 5.172 kB / 1.216 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8591, allocations: 1.125 kB / 1.216 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8591, allocations: 0 / 1.216 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.8596, allocations: 474.7 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.8596, allocations: 0 / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.8596, allocations: 3.125 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8596, allocations: 1.094 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.8596, allocations: 1.25 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8596, allocations: 0 / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8596, allocations: 0.9375 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.8597, allocations: 86.84 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.8598, allocations: 84.5 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.8598, allocations: 1.094 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.8598, allocations: 3.984 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.8598, allocations: 5.125 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.8598, allocations: 1.156 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001052/0.8599, allocations: 125.4 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8599, allocations: 4 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000192/0.8601, allocations: 7.281 kB / 1.217 GB, free: 15.73 MB / 0.9356 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.0004634/0.8606, allocations: 0.6118 MB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.8607, allocations: 21.84 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8607, allocations: 1.094 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-06/0.8607, allocations: 3.25 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.8609, allocations: 11.38 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.8622, allocations: 1.345 MB / 1.219 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.8625, allocations: 0.6946 MB / 1.22 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.8626, allocations: 4.844 kB / 1.22 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.8626, allocations: 22.7 kB / 1.22 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8626, allocations: 5.031 kB / 1.22 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.8867, allocations: 1.586 MB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/9.048, allocations: 6.469 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.858869137242436]