Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001312/0.001312, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001992/0.001992, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.29/3.29, allocations: 0.5003 GB / 0.8062 GB, free: 26.78 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.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",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.002052/0.002052, allocations: 62.86 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4278, allocations: 179 MB / 1.345 GB, free: 392 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002456/0.4303, allocations: 0.6773 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4317, allocations: 0.8553 MB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.4318, allocations: 0 / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.4318, allocations: 3.938 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.4319, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.4321, allocations: 11.92 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.4322, allocations: 35.84 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4324, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.4325, allocations: 11.98 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.4325, allocations: 11.94 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4325, allocations: 4 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.4326, allocations: 8 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.4326, allocations: 7.984 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.4327, allocations: 3.938 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.4328, allocations: 32.17 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4328, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4328, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4328, allocations: 0 / 1.347 GB, free: 14.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005327/0.4333, allocations: 267.8 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4334, allocations: 8.031 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.797e-05/0.4334, allocations: 8.188 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.4334, allocations: 30.75 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.4335, allocations: 8.859 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4337, allocations: 114.4 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4337, allocations: 384 / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.4337, allocations: 384 / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4339, allocations: 53.98 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4339, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4339, allocations: 4 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4339, allocations: 0 / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4341, allocations: 31.97 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.4345, allocations: 227.9 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4346, allocations: 38.48 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.4347, allocations: 28.91 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4347, allocations: 0 / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4348, allocations: 34.55 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.4348, allocations: 0 / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000379/0.4352, allocations: 77.66 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4352, allocations: 59.47 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4354, allocations: 101.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4354, allocations: 25.7 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4354, allocations: 84.14 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.4355, allocations: 3.953 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.4355, allocations: 17.7 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4357, allocations: 314.8 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.4358, allocations: 15.98 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.4358, allocations: 15.98 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.436, allocations: 44.75 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.436, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.4362, allocations: 73.62 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4362, allocations: 4 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4362, allocations: 4 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4362, allocations: 3.984 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.4363, allocations: 8 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4363, allocations: 3.938 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.4364, allocations: 7.984 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4364, allocations: 0 / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 9.969e-05/0.4365, allocations: 113.8 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.4365, allocations: 8 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4368, allocations: 68.97 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4368, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4368, allocations: 3.984 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4368, allocations: 4 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.437, allocations: 132.6 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.437, allocations: 3.938 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.437, allocations: 12.02 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.437, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.437, allocations: 4 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.437, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.437, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.4373, allocations: 159.5 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.4373, allocations: 11.98 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4373, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.4374, allocations: 7.984 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4374, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4375, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.4375, allocations: 75.28 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4375, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002117/0.4377, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0006385/0.4384, allocations: 0.7006 MB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.4386, allocations: 35.97 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4386, allocations: 4.094 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.4387, allocations: 23.91 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.439, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.4395, allocations: 139.9 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.4398, allocations: 0.6805 MB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.4399, allocations: 0 / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4399, allocations: 11.5 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.4399, allocations: 0 / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.4633, allocations: 1.424 MB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.71, allocations: 15.88 kB / 1.352 GB, free: 9.164 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.860101360012777]