Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001365/0.001365, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8687, allocations: 168.7 MB / 1.269 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002114/0.8708, allocations: 0.8388 MB / 1.27 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.8709, allocations: 39.78 kB / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.871, allocations: 0 / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.871, allocations: 11.86 kB / 1.27 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.8711, allocations: 15.88 kB / 1.27 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.552e-05/0.8711, allocations: 11.98 kB / 1.27 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.8713, allocations: 63.84 kB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.8714, allocations: 35.92 kB / 1.27 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.8714, allocations: 19.94 kB / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.8715, allocations: 35.78 kB / 1.27 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8715, allocations: 4 kB / 1.27 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.8715, allocations: 8 kB / 1.27 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.8716, allocations: 19.86 kB / 1.27 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.8716, allocations: 31.8 kB / 1.27 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.8717, allocations: 73.48 kB / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8717, allocations: 0 / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8717, allocations: 0 / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8717, allocations: 0 / 1.27 GB, free: 4.09 MB / 0.9669 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.0004737/0.8722, allocations: 379.1 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8722, allocations: 12.03 kB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.8723, allocations: 38.75 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.8723, allocations: 12.84 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.8726, allocations: 208 kB / 1.271 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.8726, allocations: 4.375 kB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.8726, allocations: 8.375 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.8727, allocations: 91.89 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8728, allocations: 3.938 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8728, allocations: 8 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8728, allocations: 4 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.8729, allocations: 35.98 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.8734, allocations: 436.7 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.8735, allocations: 41.28 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.8735, allocations: 17.72 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/0.8735, allocations: 0 / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.8736, allocations: 38.58 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.8736, allocations: 3.938 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.8737, allocations: 61.73 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.8738, allocations: 85.14 kB / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.874, allocations: 155.3 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.874, allocations: 25.7 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.874, allocations: 104.1 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.8741, allocations: 3.953 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.8741, allocations: 21.67 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8742, allocations: 322.8 kB / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.8743, allocations: 8 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.8743, allocations: 17.72 kB / 1.272 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.961e-05/0.8743, allocations: 29.64 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8743, allocations: 0 / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.752e-05/0.8744, allocations: 57.66 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8744, allocations: 7.938 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8744, allocations: 4.062 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8745, allocations: 0 / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.8745, allocations: 8 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8745, allocations: 7.922 kB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.8746, allocations: 7.875 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.8746, allocations: 4 kB / 1.272 GB, free: 1.586 MB / 0.9669 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 8.871e-05/0.8746, allocations: 113.8 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8747, allocations: 11.89 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.8747, allocations: 7.875 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8747, allocations: 8 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8747, allocations: 4 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.8747, allocations: 3.984 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.8752, allocations: 474.7 kB / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.8752, allocations: 0 / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.8752, allocations: 4 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8752, allocations: 0 / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.8752, allocations: 64 / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8752, allocations: 4 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8752, allocations: 4 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.403e-05/0.8753, allocations: 85.81 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.8754, allocations: 81.06 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8754, allocations: 4 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.8754, allocations: 0 / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.8754, allocations: 8.016 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.8754, allocations: 4 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.085e-05/0.8755, allocations: 117.3 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8755, allocations: 4 kB / 1.273 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001842/0.8757, allocations: 7.938 kB / 1.273 GB, free: 0.543 MB / 0.9669 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.0004486/0.8761, allocations: 0.6215 MB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.8762, allocations: 15.98 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8762, allocations: 4 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.8762, allocations: 7.938 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.8764, allocations: 11.84 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.8777, allocations: 1.331 MB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.878, allocations: 0.6929 MB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.8781, allocations: 8.422 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.8781, allocations: 31.42 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8781, allocations: 0 / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.9043, allocations: 1.595 MB / 1.277 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/9.085, allocations: 10.62 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.248500949237496]