Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001778/0.001778, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.002045/0.002045, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.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.731/2.731, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 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_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8825, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00189/0.8844, allocations: 0.8342 MB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.929e-05/0.8845, allocations: 41.28 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.8846, allocations: 1.344 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.8846, allocations: 9.094 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.8847, allocations: 6.562 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.435e-05/0.8847, allocations: 27.77 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.8848, allocations: 60.34 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.885, allocations: 38.69 kB / 1.273 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.885, allocations: 22.73 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.8851, allocations: 30.25 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8851, allocations: 5.469 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.8851, allocations: 6.5 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.8851, allocations: 12.27 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.8852, allocations: 37.28 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.8853, allocations: 80.11 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8853, allocations: 9.484 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8853, allocations: 0 / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.8853, allocations: 0 / 1.273 GB, free: 6.941 MB / 0.9981 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.0003611/0.8857, allocations: 376.7 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8857, allocations: 10.09 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.8857, allocations: 43.02 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.8858, allocations: 13.22 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.8859, allocations: 196.7 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.8859, allocations: 7.25 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.886, allocations: 9.094 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.8861, allocations: 93.33 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8861, allocations: 3.938 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.8861, allocations: 9.469 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8861, allocations: 1.688 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.8862, allocations: 32.34 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.8867, allocations: 442 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.8867, allocations: 41.84 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.8868, allocations: 20.19 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.8868, allocations: 0.8438 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.8868, allocations: 39.84 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8868, allocations: 0.7188 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.887, allocations: 52.42 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.887, allocations: 81.95 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.8871, allocations: 159.4 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.8871, allocations: 27.16 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.8872, allocations: 103.3 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.8872, allocations: 13.45 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.8872, allocations: 14.97 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.8873, allocations: 319.9 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.8873, allocations: 7.188 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.8873, allocations: 20.25 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.8873, allocations: 32.36 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8873, allocations: 0 / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.586e-05/0.8874, allocations: 56.94 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8874, allocations: 8.969 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8874, allocations: 1.625 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8875, allocations: 0.8438 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.8875, allocations: 10.19 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8875, allocations: 0.7812 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.8875, allocations: 11.12 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.8876, allocations: 6 kB / 1.275 GB, free: 4.812 MB / 0.9981 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 4.836e-05/0.8876, allocations: 121.5 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.8876, allocations: 15.91 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.8877, allocations: 8.734 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8877, allocations: 1.406 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8877, allocations: 1.125 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8877, allocations: 0 / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.888, allocations: 475.2 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.888, allocations: 1.094 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.888, allocations: 2.938 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.888, allocations: 2.406 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.888, allocations: 1.094 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.888, allocations: 0.9688 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.888, allocations: 0.7812 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.566e-05/0.8881, allocations: 88.34 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.8881, allocations: 91.48 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.8881, allocations: 1.125 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.8881, allocations: 1.125 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.8882, allocations: 0.9062 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.8882, allocations: 0.9688 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.561e-05/0.8882, allocations: 120.6 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8882, allocations: 0 / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001812/0.8884, allocations: 11.03 kB / 1.276 GB, free: 3.895 MB / 0.9981 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.000251/0.8887, allocations: 0.6148 MB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.8887, allocations: 17.5 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8888, allocations: 4.062 kB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.8888, allocations: 8.844 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.8889, allocations: 9.297 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.8899, allocations: 1.345 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.8903, allocations: 0.6974 MB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.8903, allocations: 7.797 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.8903, allocations: 24.14 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8903, allocations: 3.938 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4442/1.335, allocations: 1.562 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.3, allocations: 16.06 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 25.735424550017342]