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.002109/0.002109, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00222/0.00222, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.636/1.636, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.335/3.335, allocations: 0.505 GB / 0.8066 GB, free: 23.21 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.00202/0.00202, allocations: 74.3 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4244, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002953/0.4274, allocations: 0.677 MB / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.4287, allocations: 0.8475 MB / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.4287, allocations: 0 / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.4287, allocations: 3.938 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.4288, allocations: 11.92 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.429, allocations: 4 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.4291, allocations: 31.91 kB / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.4292, allocations: 4 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.4293, allocations: 11.92 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.4293, allocations: 19.92 kB / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.4293, allocations: 4 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.112e-05/0.4294, allocations: 4 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.4294, allocations: 7.938 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.4294, allocations: 7.938 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.4295, allocations: 32.16 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4295, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4295, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4295, allocations: 0 / 1.349 GB, free: 8.273 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.0005177/0.4301, allocations: 343.5 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4301, allocations: 11.98 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.4302, allocations: 30.75 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.4302, allocations: 8.875 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4304, allocations: 164.3 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4304, allocations: 4.312 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4304, allocations: 8.375 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4306, allocations: 42.23 kB / 1.35 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4306, allocations: 7.938 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4306, allocations: 8 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4306, allocations: 0 / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4308, allocations: 31.95 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.4311, allocations: 248.9 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.4313, allocations: 38.48 kB / 1.35 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.4314, allocations: 28.91 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.4314, allocations: 0 / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4314, allocations: 30.56 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.4314, allocations: 0 / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.4318, allocations: 85.67 kB / 1.35 GB, free: 7.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.4318, allocations: 55.44 kB / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4319, allocations: 101.8 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.432, allocations: 25.7 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.432, allocations: 84.14 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.432, allocations: 3.953 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.4321, allocations: 17.72 kB / 1.351 GB, free: 6.703 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4323, allocations: 310.8 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.4323, allocations: 23.97 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.4324, allocations: 11.98 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4326, allocations: 36.83 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4326, allocations: 3.938 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.4328, allocations: 77.61 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4328, allocations: 4 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4328, allocations: 0 / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4328, allocations: 3.938 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4329, allocations: 15.98 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4329, allocations: 0 / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.433, allocations: 8 kB / 1.351 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.433, allocations: 0 / 1.351 GB, free: 6.199 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 0.0001055/0.4331, allocations: 122.5 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4331, allocations: 0 / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.4333, allocations: 72.72 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4334, allocations: 7.938 kB / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4334, allocations: 0 / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4334, allocations: 0 / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.4336, allocations: 161.6 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4336, allocations: 192 / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.4336, allocations: 8.031 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4336, allocations: 4 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4336, allocations: 3.984 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4336, allocations: 0 / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4336, allocations: 0 / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4339, allocations: 163.5 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.434, allocations: 89.08 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.434, allocations: 0 / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.434, allocations: 4 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.4341, allocations: 3.984 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.4341, allocations: 7.938 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.4341, allocations: 79.28 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4341, allocations: 0 / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002036/0.4343, allocations: 0 / 1.352 GB, free: 5.383 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.0006347/0.435, allocations: 0.6986 MB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.4352, allocations: 39.95 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4352, allocations: 4.094 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.4353, allocations: 19.92 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4356, allocations: 4 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.436, allocations: 143.7 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4364, allocations: 0.6729 MB / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.4364, allocations: 0 / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.4364, allocations: 11.5 kB / 1.353 GB, free: 3.699 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4364, allocations: 0 / 1.353 GB, free: 3.699 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.4595, allocations: 1.288 MB / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.614, allocations: 9.938 kB / 1.355 GB, free: 2.492 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.83428497100249]