Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002008/0.002008, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002307/0.002307, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.252/3.252, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 72.34 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 176.1 MB / 1.321 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002092/0.3893, allocations: 0.681 MB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3904, allocations: 0.8475 MB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.3905, allocations: 4 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.3905, allocations: 3.938 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.3906, allocations: 7.938 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3908, allocations: 19.97 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.3908, allocations: 23.88 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.3909, allocations: 7.984 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.391, allocations: 8 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.391, allocations: 11.92 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3911, allocations: 4 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.3911, allocations: 4 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.3911, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3911, allocations: 11.94 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3913, allocations: 36.16 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3913, allocations: 0 / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3913, allocations: 4 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3913, allocations: 0 / 1.322 GB, free: 1.578 MB / 1.014 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.0004978/0.3918, allocations: 335.4 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3918, allocations: 11.98 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3918, allocations: 38.75 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.3919, allocations: 0.9375 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3921, allocations: 172.3 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.3921, allocations: 8.375 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3921, allocations: 384 / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3923, allocations: 50.25 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.3923, allocations: 7.922 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3923, allocations: 0 / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3923, allocations: 7.922 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3925, allocations: 31.97 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.3929, allocations: 252.8 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.393, allocations: 42.53 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.3931, allocations: 20.91 kB / 1.323 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3931, allocations: 0 / 1.323 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3932, allocations: 38.56 kB / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3932, allocations: 0 / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.3935, allocations: 81.58 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3936, allocations: 51.41 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3937, allocations: 101.8 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3937, allocations: 25.7 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.3937, allocations: 88.27 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3938, allocations: 3.953 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3938, allocations: 13.72 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3939, allocations: 318.8 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.394, allocations: 11.98 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.3941, allocations: 19.98 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3943, allocations: 40.89 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3943, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.3945, allocations: 65.59 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3945, allocations: 8 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3945, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3945, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.3946, allocations: 7.984 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3946, allocations: 7.969 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.3947, allocations: 7.984 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3947, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 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.507e-05/0.3948, allocations: 113.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3948, allocations: 3.953 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.395, allocations: 72.72 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.395, allocations: 4.031 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.395, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.395, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3952, allocations: 161.6 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3952, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.3953, allocations: 11.98 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3953, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3953, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3953, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3953, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3955, allocations: 167.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.3956, allocations: 81.05 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3956, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.3957, allocations: 7.984 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3957, allocations: 4 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3957, allocations: 4.031 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.3958, allocations: 87.22 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3958, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002361/0.396, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 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.3967, allocations: 0.7007 MB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3969, allocations: 35.97 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3969, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.397, allocations: 19.92 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3973, allocations: 10.02 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.3978, allocations: 143.8 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3981, allocations: 0.6729 MB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.3981, allocations: 3.984 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.3982, allocations: 15.44 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3982, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.4236, allocations: 1.281 MB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.321, allocations: 9.656 kB / 1.328 GB, free: 11.79 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.28540188795887]