Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008573/0.0008573, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009391/0.0009391, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8923/0.8923, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.578e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001194/0.00121, allocations: 0.8557 MB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.002049, allocations: 0.9139 MB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.002115, allocations: 7.938 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.002151, allocations: 19.8 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.002214, allocations: 7.875 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.002396, allocations: 63.91 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.002557, allocations: 143.7 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.002697, allocations: 33.66 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.00278, allocations: 75.86 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.002833, allocations: 47.8 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.002867, allocations: 12 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.002881, allocations: 16 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.002909, allocations: 35.89 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.002939, allocations: 35.92 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003075, allocations: 147.5 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003077, allocations: 0 / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003078, allocations: 0 / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003082, allocations: 4 kB / 0.9529 GB, free: 1.004 MB / 0.9011 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.0004429/0.003525, allocations: 373.7 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.00356, allocations: 8.031 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.003596, allocations: 46.73 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.003626, allocations: 20.84 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.003797, allocations: 153.5 kB / 0.9535 GB, free: 356 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003808, allocations: 20.25 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.003823, allocations: 12.38 kB / 0.9535 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.004052, allocations: 223.3 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004059, allocations: 192 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.004073, allocations: 8.375 kB / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004079, allocations: 4.125 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.004265, allocations: 132.7 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.004747, allocations: 431.4 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.004874, allocations: 86.45 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.00494, allocations: 40.84 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.004959, allocations: 7.984 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.00498, allocations: 38.5 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.004981, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002984/0.005279, allocations: 153.7 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.005304, allocations: 51.41 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.00543, allocations: 195.6 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005443, allocations: 29.7 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.005499, allocations: 116 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.005515, allocations: 39.69 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.00555, allocations: 25.72 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.005619, allocations: 322.8 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.005688, allocations: 43.97 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.00575, allocations: 43.91 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.005882, allocations: 99.06 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005883, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001686/0.006052, allocations: 145.5 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.006063, allocations: 8 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.006067, allocations: 0 / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006078, allocations: 0 / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.006172, allocations: 31.91 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006177, allocations: 384 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.006221, allocations: 23.84 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.006228, allocations: 3.938 kB / 0.9557 GB, free: 13.91 MB / 0.9167 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 6.048e-05/0.006288, allocations: 125.8 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.006309, allocations: 23.77 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.006493, allocations: 139 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006495, allocations: 0 / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006499, allocations: 0 / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006502, allocations: 0 / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.006825, allocations: 408.1 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006827, allocations: 4 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.006875, allocations: 19.98 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.006877, allocations: 4 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.006886, allocations: 4 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.006888, allocations: 4 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006889, allocations: 3.984 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.007066, allocations: 233.9 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.007082, allocations: 31.86 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007094, allocations: 0 / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.007166, allocations: 15.98 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.007197, allocations: 11.92 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.007201, allocations: 4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.007274, allocations: 157.6 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007274, allocations: 0 / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001552/0.007429, allocations: 20 kB / 0.9569 GB, free: 12.62 MB / 0.9167 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.0003337/0.007763, allocations: 0.7734 MB / 0.9576 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.007929, allocations: 92.16 kB / 0.9577 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00793, allocations: 0 / 0.9577 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.641e-05/0.007996, allocations: 47.91 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.008206, allocations: 26.64 kB / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.009603, allocations: 1.908 MB / 0.9596 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.009658, allocations: 98.78 kB / 0.9597 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.009691, allocations: 13.14 kB / 0.9598 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.009748, allocations: 40.48 kB / 0.9598 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.009748, allocations: 0 / 0.9598 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02391, allocations: 3.55 MB / 0.9633 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/6.751, allocations: 6.094 kB / 0.9633 GB, free: 6.082 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.861871873028576]