Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008033/0.0008033, 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.001196/0.001196, allocations: 165.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.9051/0.9051, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.742/1.742, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.548e-05, allocations: 6.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001428/0.001453, allocations: 0.7551 MB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.002304, allocations: 0.8821 MB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.002351, allocations: 0 / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.002382, allocations: 11.81 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.002461, allocations: 11.88 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.002624, allocations: 43.88 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.002716, allocations: 83.83 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.002824, allocations: 23.92 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.002914, allocations: 47.89 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.002979, allocations: 39.88 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.003006, allocations: 8 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.003018, allocations: 8 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.003039, allocations: 19.92 kB / 0.9829 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.003073, allocations: 35.89 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003188, allocations: 87.72 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.003191, allocations: 0 / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003192, allocations: 0 / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003196, allocations: 4 kB / 0.983 GB, free: 0.5273 MB / 0.9323 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.0004438/0.00364, allocations: 322 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.00368, allocations: 12.03 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.003714, allocations: 30.75 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.003741, allocations: 12.88 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.003855, allocations: 129.6 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.003871, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.003884, allocations: 8.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.004092, allocations: 113.9 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.0041, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.00411, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.004116, allocations: 4 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.004316, allocations: 95.89 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.004712, allocations: 295.7 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.005087, allocations: 122.6 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.005194, allocations: 52.81 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.005209, allocations: 0 / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.005227, allocations: 42.5 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.005228, allocations: 0 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.005623, allocations: 185.5 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.005652, allocations: 55.41 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.005722, allocations: 121.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005734, allocations: 29.69 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.005778, allocations: 92.09 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.005798, allocations: 19.8 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.005836, allocations: 25.7 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.00592, allocations: 326.8 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.006026, allocations: 43.95 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.006117, allocations: 51.83 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.006302, allocations: 101.2 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006304, allocations: 4 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002271/0.006531, allocations: 141.5 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006544, allocations: 4 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006549, allocations: 0 / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.00656, allocations: 0 / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.006644, allocations: 23.97 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.00665, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.006703, allocations: 19.91 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.006712, allocations: 7.938 kB / 0.9854 GB, free: 13.88 MB / 0.948 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 6.701e-05/0.006779, allocations: 113.8 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.006796, allocations: 3.953 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.006819, allocations: 16.44 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.006821, allocations: 0 / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.006826, allocations: 0 / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.00683, allocations: 3.984 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.006966, allocations: 156.7 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006967, allocations: 4 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.007034, allocations: 23.97 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007036, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007044, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007046, allocations: 7.938 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007048, allocations: 4 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.007366, allocations: 247.3 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.007381, allocations: 11.89 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007393, allocations: 0 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.007458, allocations: 15.97 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.007516, allocations: 19.97 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.007521, allocations: 4 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.00756, allocations: 95.27 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00756, allocations: 0 / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001622/0.007722, allocations: 15.94 kB / 0.9861 GB, free: 13.09 MB / 0.948 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.0004355/0.008158, allocations: 0.767 MB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.008401, allocations: 99.89 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008403, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.008509, allocations: 67.89 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.008761, allocations: 14.33 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.01006, allocations: 1.541 MB / 0.9885 GB, free: 10.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01011, allocations: 71.33 kB / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.01017, allocations: 19.73 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.01023, allocations: 32.48 kB / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01023, allocations: 0 / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.0248, allocations: 3.493 MB / 0.992 GB, free: 7.012 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.856, allocations: 3.406 kB / 0.992 GB, free: 7.012 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.021258525550365]