Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.0008303/0.0008303, 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.001072/0.001072, 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.9213/0.9213, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.804/1.804, allocations: 389 MB / 0.633 GB, free: 12.7 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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.633e-05, allocations: 9.031 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001465/0.001481, allocations: 0.7446 MB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.002389, allocations: 0.8829 MB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.002441, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.002476, allocations: 3.938 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.002567, allocations: 19.8 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002742, allocations: 39.89 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.002845, allocations: 87.75 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.002967, allocations: 19.92 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.003072, allocations: 55.89 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.003143, allocations: 35.89 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.003174, allocations: 8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.003186, allocations: 12 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.003208, allocations: 15.97 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.003241, allocations: 31.89 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003373, allocations: 95.66 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003375, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003376, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003381, allocations: 0 / 1.002 GB, free: 11.42 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.00047/0.003851, allocations: 318 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.003893, allocations: 8.75 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.003927, allocations: 46.73 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.003953, allocations: 8.891 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004055, allocations: 117.6 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.004073, allocations: 12.38 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.004084, allocations: 4.375 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.004286, allocations: 109.9 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004293, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004304, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004309, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.004516, allocations: 103.9 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.004886, allocations: 291.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.005247, allocations: 122.5 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.005364, allocations: 60.81 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.005382, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.005402, allocations: 34.56 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005403, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004004/0.005803, allocations: 189.4 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005833, allocations: 55.41 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.00591, allocations: 121.8 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.005921, allocations: 25.7 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.005965, allocations: 100 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.005985, allocations: 15.89 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006021, allocations: 21.72 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.006112, allocations: 322.8 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.006216, allocations: 43.95 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.006318, allocations: 56.25 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.006508, allocations: 92.77 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.00651, allocations: 7.938 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002307/0.00674, allocations: 141.4 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006753, allocations: 4 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006759, allocations: 4 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006769, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.006855, allocations: 23.97 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.00686, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.006916, allocations: 19.97 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006924, allocations: 3.938 kB / 1.004 GB, free: 8.793 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,sub.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 7.066e-05/0.006994, allocations: 117.8 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.007012, allocations: 7.953 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.007033, allocations: 8.438 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007036, allocations: 4 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.007042, allocations: 3.984 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007046, allocations: 0 / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.007186, allocations: 164.5 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007187, allocations: 4 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.007265, allocations: 31.91 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.007267, allocations: 0 / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007276, allocations: 4 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007276, allocations: 0 / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007277, allocations: 0 / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.007542, allocations: 231.4 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007553, allocations: 3.953 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.007568, allocations: 3.984 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.007634, allocations: 15.98 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.007699, allocations: 27.97 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007704, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.007744, allocations: 95.7 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007744, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001557/0.0079, allocations: 19.88 kB / 1.005 GB, free: 7.996 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 (sub.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.0004612/0.008361, allocations: 0.7632 MB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.0086, allocations: 111.8 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008602, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.008706, allocations: 55.89 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.008922, allocations: 15.98 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.01043, allocations: 1.551 MB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.01048, allocations: 81.75 kB / 1.007 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.01053, allocations: 12 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.0106, allocations: 32.42 kB / 1.007 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of SimCode: time 7.22e-07/0.0106, allocations: 0 / 1.007 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02628, allocations: 3.481 MB / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.704, allocations: 11.11 kB / 1.011 GB, free: 1.902 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_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_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.983052416704595]