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.001357/0.001357, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001545/0.001545, allocations: 214.6 kB / 22.25 MB, free: 5.082 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.483/3.483, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002049/0.002049, allocations: 66 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00272/0.4389, allocations: 0.8452 MB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.439, allocations: 39.78 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.4391, allocations: 0 / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.4392, allocations: 7.875 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.4393, allocations: 11.88 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.65e-05/0.4394, allocations: 23.97 kB / 1.354 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.4395, allocations: 59.84 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.4397, allocations: 27.98 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4398, allocations: 27.86 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.4398, allocations: 23.86 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.4399, allocations: 8 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4399, allocations: 4 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.4399, allocations: 27.84 kB / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.44, allocations: 39.69 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.4401, allocations: 71.86 kB / 1.354 GB, free: 7.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4401, allocations: 4 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4401, allocations: 4 kB / 1.354 GB, free: 7.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4401, allocations: 0 / 1.354 GB, free: 7.199 MB / 1.045 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.0005554/0.4407, allocations: 302 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4408, allocations: 12.03 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.4408, allocations: 38.73 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.4408, allocations: 12.89 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4411, allocations: 138.3 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4411, allocations: 8.375 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4411, allocations: 8.375 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4413, allocations: 101.2 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4414, allocations: 3.938 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4414, allocations: 0 / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4414, allocations: 0 / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.4415, allocations: 39.97 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.4421, allocations: 403.8 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.4422, allocations: 37.22 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.4422, allocations: 17.78 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4422, allocations: 3.984 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.4423, allocations: 42.59 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4423, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.4425, allocations: 53.53 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4425, allocations: 77.11 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4427, allocations: 159.3 kB / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4427, allocations: 25.7 kB / 1.355 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.4428, allocations: 104 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.4428, allocations: 12.2 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4429, allocations: 21.66 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.443, allocations: 318.8 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.443, allocations: 8 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.443, allocations: 17.7 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.4431, allocations: 29.66 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4431, allocations: 8 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.22e-05/0.4432, allocations: 49.66 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4432, allocations: 7.938 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4432, allocations: 3.984 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4432, allocations: 4 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.4433, allocations: 4 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4433, allocations: 7.875 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.4433, allocations: 7.953 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4433, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 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.704e-05/0.4434, allocations: 121.8 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.4435, allocations: 11.89 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.4435, allocations: 19.8 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4435, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4435, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4435, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.444, allocations: 457.8 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.444, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.444, allocations: 3.984 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.444, allocations: 4 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.444, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.444, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.444, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4442, allocations: 85.84 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.4442, allocations: 11.95 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4442, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.4442, allocations: 4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.4442, allocations: 3.984 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.4442, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001239/0.4444, allocations: 122.3 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4444, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001957/0.4446, allocations: 8 kB / 1.357 GB, free: 3.992 MB / 1.045 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.0004963/0.4451, allocations: 0.621 MB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4452, allocations: 12 kB / 1.357 GB, free: 3.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4452, allocations: 0 / 1.357 GB, free: 3.328 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.4452, allocations: 16.09 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4454, allocations: 4 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.4469, allocations: 1.328 MB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.4473, allocations: 0.7002 MB / 1.359 GB, free: 1.156 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.4473, allocations: 4.438 kB / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.4474, allocations: 27.42 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4474, allocations: 0 / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.478, allocations: 1.691 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.63, allocations: 10.17 kB / 1.361 GB, free: 15.55 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.91008518007584]