Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0007822/0.0007822, 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.0008198/0.0008198, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.68 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.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.285e-05, allocations: 9.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001241/0.001254, allocations: 0.7524 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000754/0.002008, allocations: 0.8867 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.002044, allocations: 8 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.00207, allocations: 3.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.002132, allocations: 7.938 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.002257, allocations: 43.81 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.002337, allocations: 91.7 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.002425, allocations: 19.97 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.002508, allocations: 51.89 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.002568, allocations: 39.88 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002593, allocations: 8 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.002604, allocations: 8 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.002628, allocations: 31.91 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.002652, allocations: 15.98 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.00275, allocations: 95.7 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002752, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002753, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.002756, allocations: 3.938 kB / 1.002 GB, free: 11.41 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005121/0.003268, allocations: 318 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.0033, allocations: 12.69 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.00333, allocations: 42.73 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.003354, allocations: 16.84 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.003436, allocations: 109.8 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.00345, allocations: 4.375 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.003462, allocations: 8.375 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.003651, allocations: 109.9 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003658, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.003667, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003671, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.003868, allocations: 107.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.004223, allocations: 291.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.004567, allocations: 122.5 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.004671, allocations: 60.81 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.004684, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.0047, allocations: 34.55 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.004701, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003689/0.00507, allocations: 181.5 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.005097, allocations: 55.34 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.005163, allocations: 125.8 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005176, allocations: 25.7 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.005213, allocations: 96.09 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.005234, allocations: 19.83 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.005265, allocations: 21.66 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.005337, allocations: 326.8 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.00543, allocations: 47.94 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.005522, allocations: 48.27 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.005704, allocations: 100.9 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005706, allocations: 8 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002131/0.005919, allocations: 133.5 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.00593, allocations: 12 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.005934, allocations: 3.938 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005943, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.006019, allocations: 23.97 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.006024, allocations: 3.984 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.006074, allocations: 11.98 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.006082, allocations: 7.938 kB / 1.004 GB, free: 8.773 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.773e-05/0.00614, allocations: 113.8 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.006156, allocations: 11.95 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.006175, allocations: 12.42 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006178, allocations: 4 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.006182, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.006184, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.006309, allocations: 164.6 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.00631, allocations: 0 / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.006373, allocations: 23.97 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006374, allocations: 0 / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006382, allocations: 4 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006383, allocations: 3.938 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006385, allocations: 7.984 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.006626, allocations: 227.4 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.006637, allocations: 11.88 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.00665, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.006713, allocations: 15.98 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.006766, allocations: 19.97 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.006772, allocations: 8 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.006809, allocations: 99.2 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006809, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000149/0.006958, allocations: 15.94 kB / 1.005 GB, free: 7.977 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006642/0.007622, allocations: 0.767 MB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.007847, allocations: 107.9 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007848, allocations: 0 / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.007952, allocations: 55.89 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.008141, allocations: 14.22 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.009342, allocations: 1.547 MB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.009388, allocations: 79.33 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.009428, allocations: 4.188 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.009487, allocations: 36.48 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of SimCode: time 7.82e-07/0.009488, allocations: 3.938 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.02523, allocations: 3.488 MB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.816, allocations: 14.64 kB / 1.011 GB, free: 1.883 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.981641464866698]