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.001304/0.001304, 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.001476/0.001476, allocations: 214.3 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.047 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.432/3.432, 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.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.002/0.002, allocations: 64 kB / 1.177 GB, free: 17.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4471, allocations: 180.2 MB / 1.353 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001953/0.449, allocations: 0.669 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4501, allocations: 0.8592 MB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.4502, allocations: 4 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4502, allocations: 0 / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.4503, allocations: 7.922 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.4504, allocations: 8 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.4505, allocations: 27.92 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.4506, allocations: 0 / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.4507, allocations: 19.91 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.4507, allocations: 8 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4507, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.4508, allocations: 7.984 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.4508, allocations: 15.94 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.4508, allocations: 4 kB / 1.355 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.4509, allocations: 32.11 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4509, allocations: 0 / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4509, allocations: 0 / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4509, allocations: 0 / 1.355 GB, free: 6.922 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.0004858/0.4514, allocations: 262.3 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4515, allocations: 11.97 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.4515, allocations: 38.67 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.4516, allocations: 8.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4517, allocations: 106.5 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.4517, allocations: 4.375 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.4517, allocations: 4.312 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4519, allocations: 50.23 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4519, allocations: 3.938 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.4519, allocations: 0 / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4519, allocations: 0 / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.4521, allocations: 39.95 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.4524, allocations: 223.9 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4525, allocations: 38.5 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.4526, allocations: 16.91 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4526, allocations: 7.984 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4526, allocations: 34.56 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4526, allocations: 0 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003344/0.453, allocations: 77.59 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.453, allocations: 55.39 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.4531, allocations: 101.9 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4531, allocations: 29.83 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.4532, allocations: 80.14 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.4532, allocations: 3.953 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.4532, allocations: 21.7 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4534, allocations: 310.8 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.4534, allocations: 15.98 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.4535, allocations: 19.98 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.4537, allocations: 40.81 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4537, allocations: 3.938 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.4539, allocations: 65.75 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4539, allocations: 11.98 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4539, allocations: 0 / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4539, allocations: 4.094 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.454, allocations: 7.984 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.454, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.454, allocations: 11.98 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.454, allocations: 4 kB / 1.356 GB, free: 5.043 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 8.021e-05/0.4541, allocations: 113.7 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4541, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4544, allocations: 84.89 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4544, allocations: 0 / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4544, allocations: 3.938 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4544, allocations: 3.938 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.4545, allocations: 128.7 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4546, allocations: 4 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4546, allocations: 11.98 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4546, allocations: 0 / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4546, allocations: 0 / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4546, allocations: 4.031 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4546, allocations: 0 / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.4549, allocations: 163.5 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.4549, allocations: 7.953 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.4549, allocations: 0 / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.455, allocations: 7.984 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.455, allocations: 7.969 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.455, allocations: 0 / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.4551, allocations: 83.27 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4551, allocations: 0 / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002164/0.4553, allocations: 8 kB / 1.357 GB, free: 4.352 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.0005356/0.4558, allocations: 0.689 MB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.456, allocations: 35.91 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.456, allocations: 4 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.4561, allocations: 15.97 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.4564, allocations: 12.16 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.4568, allocations: 131.9 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.4571, allocations: 0.6768 MB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.4572, allocations: 0 / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.4572, allocations: 11.44 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4572, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.4854, allocations: 1.386 MB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.18, allocations: 13.05 kB / 1.36 GB, free: 1.41 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable cos1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.387633584000014]