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.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.001623/0.001623, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001888/0.001888, allocations: 215 kB / 20.13 MB, free: 2.949 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.577/1.577, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.934/2.934, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 176] 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.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_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.002404/0.002404, allocations: 75.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9978, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002257/1, allocations: 0.6723 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001213/1.001, allocations: 0.8573 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/1.001, allocations: 1.25 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/1.001, allocations: 0 / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/1.001, allocations: 5.188 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/1.002, allocations: 13.97 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/1.002, allocations: 27.91 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.002, allocations: 3.797 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/1.002, allocations: 9.453 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/1.002, allocations: 18.25 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/1.002, allocations: 2.188 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/1.002, allocations: 3.656 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/1.002, allocations: 2.219 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/1.002, allocations: 11.38 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/1.002, allocations: 24.88 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.002, allocations: 5.125 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/1.002, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.311e-06/1.002, allocations: 0 / 1.281 GB, free: 10.63 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.0005298/1.003, allocations: 341.4 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.003, allocations: 9.938 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/1.003, allocations: 8.781 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/1.003, allocations: 31.69 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/1.003, allocations: 4.562 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.003, allocations: 171.1 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.003, allocations: 1.469 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/1.003, allocations: 1.5 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/1.003, allocations: 52.38 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.003, allocations: 1.125 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/1.003, allocations: 0 / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.003, allocations: 0.75 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/1.003, allocations: 33.06 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/1.004, allocations: 261.4 kB / 1.281 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/1.004, allocations: 36.77 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/1.004, allocations: 23.98 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.004, allocations: 0 / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.004, allocations: 40.42 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/1.004, allocations: 0 / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003777/1.004, allocations: 83.41 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/1.005, allocations: 52.53 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/1.005, allocations: 96.95 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/1.005, allocations: 26.36 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/1.005, allocations: 90.3 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.005, allocations: 4.797 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/1.005, allocations: 12.77 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.005, allocations: 317.9 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/1.005, allocations: 13.86 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/1.005, allocations: 18.19 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/1.005, allocations: 45.77 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.005, allocations: 0 / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002145/1.005, allocations: 67.61 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.005, allocations: 4.875 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.005, allocations: 0.8125 kB / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.005, allocations: 0 / 1.282 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/1.006, allocations: 17.73 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.006, allocations: 0 / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/1.006, allocations: 6.688 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/1.006, allocations: 4.844 kB / 1.282 GB, free: 8.863 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 9.169e-05/1.006, allocations: 118.2 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.006, allocations: 5.625 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/1.006, allocations: 79.28 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.006, allocations: 0 / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.006, allocations: 1.344 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.006, allocations: 0.75 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/1.006, allocations: 159.4 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.006, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/1.006, allocations: 10 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.006, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/1.006, allocations: 1.125 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.006, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.006, allocations: 4.547 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/1.007, allocations: 163.4 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/1.007, allocations: 82.75 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/1.007, allocations: 192 / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/1.007, allocations: 6.766 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/1.007, allocations: 10.5 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/1.007, allocations: 4.938 kB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.073e-05/1.007, allocations: 80.03 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.007, allocations: 3.938 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000232/1.007, allocations: 3.344 kB / 1.283 GB, free: 8.156 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.0006987/1.008, allocations: 0.7011 MB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002569/1.008, allocations: 38.77 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.008, allocations: 0 / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.008, allocations: 20.55 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.008, allocations: 3.812 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/1.009, allocations: 144.7 kB / 1.284 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.009, allocations: 0.6795 MB / 1.285 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.12e-05/1.009, allocations: 1.656 kB / 1.285 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/1.009, allocations: 13.48 kB / 1.285 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.009, allocations: 0 / 1.285 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/1.033, allocations: 1.319 MB / 1.286 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.351, allocations: 6.656 kB / 1.286 GB, free: 6.207 MB / 0.9981 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 --stepSize=0.0004 --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/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: 15.913658646983095]