Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001729/0.001729, 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.002248/0.002248, allocations: 215.2 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.004 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.47/3.47, 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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.002403/0.002403, allocations: 61.75 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4018, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001879/0.4037, allocations: 0.6729 MB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4047, allocations: 0.8553 MB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.4047, allocations: 0 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.4047, allocations: 0 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.4048, allocations: 3.938 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.405, allocations: 15.92 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.4051, allocations: 23.98 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.4052, allocations: 4 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.4052, allocations: 11.92 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.4053, allocations: 8 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.4053, allocations: 4 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.4053, allocations: 4 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.4054, allocations: 15.84 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.4054, allocations: 4 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.4055, allocations: 32.12 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4055, allocations: 0 / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4055, allocations: 0 / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4055, allocations: 4 kB / 1.355 GB, free: 6.758 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.0004395/0.4059, allocations: 262.3 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.406, allocations: 8.031 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.406, allocations: 30.75 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.4061, allocations: 8.875 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4062, allocations: 110.5 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4062, allocations: 4.375 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.4062, allocations: 4.312 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4064, allocations: 54.23 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4064, allocations: 3.938 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.4064, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4064, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.4066, allocations: 39.89 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.4069, allocations: 216 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.407, allocations: 42.5 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.4071, allocations: 20.91 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4071, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.4071, allocations: 38.5 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4071, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.00033/0.4075, allocations: 81.64 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4075, allocations: 51.41 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.4076, allocations: 105.8 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4076, allocations: 25.7 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.4076, allocations: 80.14 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.4077, allocations: 7.891 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4077, allocations: 17.84 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4078, allocations: 318.8 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.4079, allocations: 11.98 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.408, allocations: 19.98 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4081, allocations: 44.75 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4081, allocations: 8 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.4083, allocations: 61.62 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4083, allocations: 8 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4083, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4083, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.4084, allocations: 7.984 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4084, allocations: 0 / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.4085, allocations: 7.984 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.4085, allocations: 8.031 kB / 1.356 GB, free: 4.887 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 7.755e-05/0.4086, allocations: 117.7 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4086, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4088, allocations: 72.91 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4088, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4088, allocations: 3.938 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4088, allocations: 32 / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.409, allocations: 144.7 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.409, allocations: 3.938 kB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.409, allocations: 15.98 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.409, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.409, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.409, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.409, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.4093, allocations: 167.4 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.4093, allocations: 7.953 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4093, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.4094, allocations: 11.98 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.4094, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.4094, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.4095, allocations: 79.28 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4095, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002152/0.4097, allocations: 8.031 kB / 1.357 GB, free: 4.195 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.0005577/0.4102, allocations: 0.6928 MB / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.4104, allocations: 40 kB / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4104, allocations: 0 / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.4105, allocations: 15.98 kB / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.4109, allocations: 9.859 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.4113, allocations: 131.3 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4116, allocations: 0.6808 MB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.4116, allocations: 4 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4117, allocations: 7.438 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4117, allocations: 0 / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.4383, allocations: 1.38 MB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.14, allocations: 14.11 kB / 1.36 GB, free: 1.258 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Exp1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.592684811000254]