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.001938/0.001938, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002605/0.002605, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.958/2.958, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002181/0.002181, allocations: 66.11 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3399, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002419/0.3423, allocations: 0.8519 MB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3438, allocations: 0.9095 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3439, allocations: 4 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.3439, allocations: 11.81 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.344, allocations: 11.88 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3443, allocations: 67.91 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.3446, allocations: 139.7 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3447, allocations: 53.11 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3448, allocations: 47.84 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.3449, allocations: 51.69 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.345, allocations: 12 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.345, allocations: 16 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.345, allocations: 31.91 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.3451, allocations: 47.73 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3453, allocations: 149 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3453, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3453, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3453, allocations: 0 / 1.285 GB, free: 9.977 MB / 0.9825 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.0006827/0.346, allocations: 371.8 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.346, allocations: 8.031 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.022e-05/0.3461, allocations: 46.73 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.3461, allocations: 16.84 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3464, allocations: 154.3 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3465, allocations: 12.38 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3465, allocations: 12.38 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.3469, allocations: 227.3 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3469, allocations: 3.938 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3469, allocations: 11.94 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3469, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3473, allocations: 132.4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.3481, allocations: 435.4 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3483, allocations: 82.47 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3485, allocations: 48.83 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3485, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.3485, allocations: 38.69 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3485, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005173/0.349, allocations: 161.5 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3491, allocations: 51.41 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3493, allocations: 191.6 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3493, allocations: 29.7 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.3494, allocations: 116 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3494, allocations: 39.62 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3495, allocations: 25.72 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3496, allocations: 322.8 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3498, allocations: 47.97 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3499, allocations: 39.97 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.3502, allocations: 94.19 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3502, allocations: 3.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003406/0.3505, allocations: 145.5 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3505, allocations: 11.98 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3505, allocations: 4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3505, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3507, allocations: 23.98 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3507, allocations: 3.984 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3508, allocations: 19.89 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3508, allocations: 7.984 kB / 1.288 GB, free: 6.879 MB / 0.9825 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.000113/0.3509, allocations: 125.7 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.351, allocations: 16.28 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.3514, allocations: 139 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3514, allocations: 3.938 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3514, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3514, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.352, allocations: 404 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.352, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3521, allocations: 28.06 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3522, allocations: 11.94 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3522, allocations: 0 / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3522, allocations: 4 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3522, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.3526, allocations: 247.6 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3526, allocations: 23.83 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3526, allocations: 0 / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3528, allocations: 23.97 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3528, allocations: 11.94 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3528, allocations: 7.984 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3529, allocations: 141.8 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3529, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002566/0.3532, allocations: 27.94 kB / 1.289 GB, free: 5.586 MB / 0.9825 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.0007224/0.3539, allocations: 0.7778 MB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3542, allocations: 93.52 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3542, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3544, allocations: 48.19 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.3547, allocations: 23.88 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.3572, allocations: 1.885 MB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.3573, allocations: 98.66 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.095e-05/0.3574, allocations: 17.08 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3575, allocations: 43.42 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3575, allocations: 0 / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3927, allocations: 3.399 MB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 4.125 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.94615168403834]