Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001563/0.001563, 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.002018/0.002018, allocations: 219.2 kB / 22.26 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.02 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.286/3.286, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002076/0.002076, allocations: 64.22 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002095/0.3683, allocations: 0.9029 MB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3697, allocations: 0.9211 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.3697, allocations: 3.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.3698, allocations: 11.86 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.3699, allocations: 11.81 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3701, allocations: 71.91 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3703, allocations: 131.8 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3704, allocations: 41.67 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.3705, allocations: 59.7 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.3706, allocations: 59.75 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3706, allocations: 12 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.3707, allocations: 19.94 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3707, allocations: 27.92 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.3708, allocations: 59.66 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.371, allocations: 147.6 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.371, allocations: 4 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.213e-06/0.371, allocations: 3.938 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.371, allocations: 0 / 1.355 GB, free: 5.914 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006638/0.3716, allocations: 365.8 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3717, allocations: 12.03 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3717, allocations: 46.69 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3718, allocations: 20.84 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.372, allocations: 158.3 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.372, allocations: 12.31 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3721, allocations: 16.31 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3724, allocations: 150.2 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3724, allocations: 3.938 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3724, allocations: 4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3724, allocations: 4 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3728, allocations: 127.9 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.3735, allocations: 455.3 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.3737, allocations: 86.42 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3739, allocations: 44.83 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3739, allocations: 4 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3739, allocations: 30.56 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/0.3739, allocations: 3.984 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004759/0.3744, allocations: 157.7 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3744, allocations: 59.41 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3746, allocations: 195.6 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3747, allocations: 25.7 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.3748, allocations: 120 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3748, allocations: 35.69 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.3748, allocations: 29.7 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.375, allocations: 322.8 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3751, allocations: 47.97 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3752, allocations: 47.05 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3755, allocations: 88.81 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3755, allocations: 3.938 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000363/0.3759, allocations: 145.5 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3759, allocations: 11.94 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3759, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3759, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.376, allocations: 27.92 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.376, allocations: 0 / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3762, allocations: 24.25 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3762, allocations: 4 kB / 1.358 GB, free: 2.883 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 (13): * Single equations (assignments): 13 * 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.0001089/0.3763, allocations: 121.7 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3763, allocations: 19.91 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.3767, allocations: 146.9 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3767, allocations: 0 / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3767, allocations: 3.984 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3767, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.3773, allocations: 427.9 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3773, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3774, allocations: 27.97 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3774, allocations: 4 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3774, allocations: 0 / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3775, allocations: 4 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3775, allocations: 0 / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.3778, allocations: 246 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3778, allocations: 19.84 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3779, allocations: 4 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.378, allocations: 11.98 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.378, allocations: 23.86 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.378, allocations: 7.984 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001266/0.3782, allocations: 136.1 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3782, allocations: 4 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002497/0.3784, allocations: 20 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007387/0.3792, allocations: 0.7734 MB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3795, allocations: 104.1 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3795, allocations: 4 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3796, allocations: 47.84 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3799, allocations: 19.94 kB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3823, allocations: 1.883 MB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3827, allocations: 0.7199 MB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.6e-05/0.3828, allocations: 13.08 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.3829, allocations: 39.42 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.3829, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.4131, allocations: 2.978 MB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.37, allocations: 6.547 kB / 1.366 GB, free: 10.97 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable line1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.489119718999973]