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.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.001408/0.001408, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001587/0.001587, allocations: 213.9 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 70.75 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3614, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002132/0.3635, allocations: 0.8011 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.3636, allocations: 35.8 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.3637, allocations: 4 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.3637, allocations: 7.875 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.3638, allocations: 15.86 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.759e-05/0.3639, allocations: 19.98 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.364, allocations: 63.83 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3641, allocations: 25.67 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.3642, allocations: 27.86 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3642, allocations: 23.8 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3643, allocations: 8 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.3643, allocations: 4 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.3643, allocations: 19.92 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3644, allocations: 27.81 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.3645, allocations: 75.14 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3645, allocations: 4 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3645, allocations: 4 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3645, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 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.0004619/0.365, allocations: 310.1 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.365, allocations: 11.97 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.3651, allocations: 42.73 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3651, allocations: 8.891 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3653, allocations: 126.4 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3653, allocations: 8.375 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3653, allocations: 12.36 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3655, allocations: 99.8 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3655, allocations: 3.938 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3655, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3655, allocations: 4 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.3656, allocations: 39.97 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.3662, allocations: 395.8 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.3663, allocations: 33.28 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.3663, allocations: 25.73 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3663, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3664, allocations: 38.56 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3664, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3666, allocations: 57.47 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3666, allocations: 77.11 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3668, allocations: 158.2 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3668, allocations: 25.7 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.3669, allocations: 116 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.3669, allocations: 3.953 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3669, allocations: 17.72 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3671, allocations: 323 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.3671, allocations: 8 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.3671, allocations: 25.7 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.3672, allocations: 25.66 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3672, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.83e-05/0.3673, allocations: 53.66 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3673, allocations: 17.95 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3673, allocations: 3.938 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3673, allocations: 4.062 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.3674, allocations: 4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3674, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.3674, allocations: 3.953 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3674, allocations: 4 kB / 1.286 GB, free: 8.988 MB / 0.9825 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.168e-05/0.3675, allocations: 113.8 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3675, allocations: 11.89 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.3676, allocations: 7.797 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3676, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3676, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3676, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.368, allocations: 449.8 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.368, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.368, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.368, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.368, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.368, allocations: 4 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.368, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3681, allocations: 81.81 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3682, allocations: 15.91 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3682, allocations: 8.078 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.3682, allocations: 4 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.3682, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.3682, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.3683, allocations: 121.5 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001852/0.3685, allocations: 8 kB / 1.286 GB, free: 8.086 MB / 0.9825 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.0004097/0.3689, allocations: 0.617 MB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.674e-05/0.369, allocations: 23.97 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.369, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.369, allocations: 11.94 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.3692, allocations: 4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3705, allocations: 1.325 MB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.341e-05/0.3706, allocations: 91.31 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3706, allocations: 8.438 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.3706, allocations: 27.42 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3706, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.4071, allocations: 2.097 MB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 10.19 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.522360085044056]