Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001585/0.001585, allocations: 112 kB / 17.6 MB, free: 4.699 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.001845/0.001845, allocations: 186 kB / 20.78 MB, free: 1.539 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.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.805/2.805, allocations: 476.7 MB / 0.7629 GB, free: 15.09 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.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.89 kB / 1.107 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 168.7 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001887/1.006, allocations: 0.6749 MB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/1.007, allocations: 0.819 MB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/1.007, allocations: 0.6875 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/1.007, allocations: 0 / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/1.007, allocations: 9.359 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/1.007, allocations: 9.203 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/1.007, allocations: 26.03 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/1.007, allocations: 7.516 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/1.008, allocations: 17.47 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/1.008, allocations: 5.078 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/1.008, allocations: 2.094 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/1.008, allocations: 2.375 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/1.008, allocations: 6.016 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/1.008, allocations: 10.81 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/1.008, allocations: 27.34 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.008, allocations: 0 / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.008, allocations: 0 / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.008, allocations: 0.875 kB / 1.273 GB, free: 6.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004004/1.008, allocations: 336.5 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.008, allocations: 9.844 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/1.008, allocations: 32.17 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/1.008, allocations: 6.422 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/1.008, allocations: 171 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.008, allocations: 1.094 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/1.008, allocations: 2.031 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.009, allocations: 49.12 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.009, allocations: 7.938 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/1.009, allocations: 0.8438 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.009, allocations: 0.8438 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/1.009, allocations: 33.16 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/1.009, allocations: 241.6 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.009, allocations: 48.25 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.009, allocations: 23.14 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/1.009, allocations: 4.719 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/1.009, allocations: 31.97 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.009, allocations: 0.7188 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/1.01, allocations: 91.34 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.01, allocations: 52.16 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/1.01, allocations: 101.5 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/1.01, allocations: 29.7 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/1.01, allocations: 82.45 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.01, allocations: 5.5 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/1.01, allocations: 12.12 kB / 1.274 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/1.01, allocations: 317.9 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/1.01, allocations: 18.47 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/1.01, allocations: 17.62 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.01, allocations: 42.48 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.01, allocations: 4.969 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/1.01, allocations: 72.53 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.01, allocations: 6.656 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.01, allocations: 0 / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.01, allocations: 0 / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/1.01, allocations: 11.84 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.01, allocations: 0 / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/1.011, allocations: 4.375 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/1.011, allocations: 0.9688 kB / 1.275 GB, free: 4.82 MB / 0.9981 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 5.506e-05/1.011, allocations: 122.1 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/1.011, allocations: 1.719 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/1.011, allocations: 65.86 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.011, allocations: 3.938 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.011, allocations: 0.8125 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.011, allocations: 2.906 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/1.011, allocations: 157.2 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.011, allocations: 5 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/1.011, allocations: 8.922 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.011, allocations: 1.266 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.011, allocations: 4.969 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.011, allocations: 0 / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.011, allocations: 0 / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/1.011, allocations: 170.8 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/1.011, allocations: 78.61 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.011, allocations: 1.859 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/1.011, allocations: 6.594 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/1.011, allocations: 5.75 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/1.011, allocations: 1.641 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.504e-05/1.011, allocations: 79.28 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.011, allocations: 3.938 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002098/1.012, allocations: 3.781 kB / 1.276 GB, free: 4.125 MB / 0.9981 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.0004402/1.012, allocations: 0.6974 MB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.012, allocations: 40.06 kB / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.012, allocations: 0 / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/1.012, allocations: 25.56 kB / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/1.013, allocations: 2.281 kB / 1.276 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/1.013, allocations: 166.2 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/1.013, allocations: 0.6788 MB / 1.277 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.24e-05/1.013, allocations: 5.125 kB / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/1.013, allocations: 13.81 kB / 1.277 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.013, allocations: 1.062 kB / 1.277 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/1.038, allocations: 1.256 MB / 1.278 GB, free: 18.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.962, allocations: 7.453 kB / 1.278 GB, free: 18.21 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.98786657198798]