Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0008095/0.0008095, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008874/0.0008874, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794/1.794, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.891e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001538/0.001567, allocations: 0.695 MB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.002399, allocations: 0.816 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.002443, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.002482, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.002564, allocations: 15.88 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.042e-05/0.002634, allocations: 15.91 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.002713, allocations: 47.84 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002825, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.002911, allocations: 23.97 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.002952, allocations: 23.92 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.002975, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-06/0.00298, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.002999, allocations: 8 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.003029, allocations: 7.984 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.524e-05/0.003124, allocations: 51.8 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003126, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003127, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.003133, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003838/0.003516, allocations: 294.2 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.003558, allocations: 8.75 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.003587, allocations: 30.75 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.003607, allocations: 8.891 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.003692, allocations: 109.8 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003704, allocations: 4.375 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.003713, allocations: 4.375 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.003883, allocations: 74.2 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.00389, allocations: 192 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003898, allocations: 4.375 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.003904, allocations: 4.125 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.004053, allocations: 63.92 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.004368, allocations: 232 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.004494, allocations: 54.53 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.004576, allocations: 40.92 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.004588, allocations: 3.938 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.004611, allocations: 38.5 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.004613, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003451/0.004958, allocations: 137.5 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.00499, allocations: 51.41 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.005072, allocations: 113.8 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.005086, allocations: 25.7 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.005129, allocations: 80.14 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.005153, allocations: 19.92 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.005183, allocations: 9.719 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.005282, allocations: 318.8 kB / 1.003 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.005365, allocations: 31.95 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.005435, allocations: 31.97 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.005582, allocations: 73 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005585, allocations: 3.938 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001861/0.005771, allocations: 109.5 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.005789, allocations: 4 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.005795, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.005812, allocations: 4 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.005907, allocations: 11.98 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.005913, allocations: 320 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.005953, allocations: 15.97 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005959, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.606e-05/0.006025, allocations: 117.8 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.00604, allocations: 3.938 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.006062, allocations: 8 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.006064, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006069, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006071, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.006182, allocations: 132.8 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.006185, allocations: 3.984 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.006226, allocations: 23.86 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006227, allocations: 0 / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.006234, allocations: 4 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.006235, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006237, allocations: 3.984 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.006434, allocations: 191.4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.006444, allocations: 15.86 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.006455, allocations: 4 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.006506, allocations: 15.98 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.00654, allocations: 0 / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.006546, allocations: 7.984 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.006577, allocations: 83.28 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006577, allocations: 0 / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001531/0.00673, allocations: 15.89 kB / 1.004 GB, free: 8.863 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.0003998/0.007129, allocations: 0.7319 MB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.007317, allocations: 63.92 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007319, allocations: 0 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.00739, allocations: 35.91 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.007641, allocations: 11.92 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.008219, allocations: 159.2 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.00827, allocations: 71.28 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.008298, allocations: 3.938 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.00834, allocations: 12.5 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.008341, allocations: 0 / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02554, allocations: 2.322 MB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/6.752, allocations: 0 / 1.007 GB, free: 5.508 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.929750291630626]