Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008435/0.0008435, 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.0008809/0.0008809, 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.859/0.859, allocations: 177.2 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.037e-06/4.037e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.838e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0022/0.002228, allocations: 0.7596 MB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003477, allocations: 0.8821 MB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.003539, allocations: 0 / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.003577, allocations: 7.875 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.003669, allocations: 15.86 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.00389, allocations: 39.89 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.004021, allocations: 83.81 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.004151, allocations: 15.94 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.004273, allocations: 59.88 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.004357, allocations: 39.88 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.004392, allocations: 8 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.004408, allocations: 8 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.004437, allocations: 19.92 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.004478, allocations: 27.91 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004624, allocations: 91.7 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.004629, allocations: 4 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00463, allocations: 0 / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.004635, allocations: 0 / 0.9525 GB, free: 1.383 MB / 0.9011 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.0005994/0.005234, allocations: 322 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.005286, allocations: 12.03 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.005333, allocations: 34.75 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.005369, allocations: 12.83 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.005504, allocations: 125.7 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.005522, allocations: 4.375 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.005538, allocations: 4.375 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.005814, allocations: 105.9 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005823, allocations: 4 kB / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.005837, allocations: 4 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005843, allocations: 4 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.006139, allocations: 91.91 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.00665, allocations: 303.7 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.007155, allocations: 118.5 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.007307, allocations: 56.81 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.007327, allocations: 0 / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.007354, allocations: 42.5 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.007356, allocations: 0 / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0005997/0.007955, allocations: 185.5 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.007998, allocations: 55.41 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.008099, allocations: 117.8 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.008117, allocations: 29.7 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.00818, allocations: 96.69 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.008213, allocations: 19.8 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.008272, allocations: 25.7 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.008392, allocations: 322.8 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.008543, allocations: 51.94 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.008679, allocations: 43.95 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.008952, allocations: 96.72 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008954, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003393/0.009294, allocations: 142 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.00931, allocations: 4 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.009317, allocations: 0 / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.009332, allocations: 0 / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.009456, allocations: 27.97 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.009465, allocations: 4.062 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.009538, allocations: 15.98 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.009549, allocations: 7.938 kB / 0.9549 GB, free: 14.75 MB / 0.9167 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 8.617e-05/0.009635, allocations: 121.8 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.009663, allocations: 7.953 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.009688, allocations: 8.438 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009691, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.009695, allocations: 3.938 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.009698, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.009881, allocations: 160.7 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009884, allocations: 3.938 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.009987, allocations: 27.97 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.009991, allocations: 3.984 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01, allocations: 4 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01, allocations: 0 / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01, allocations: 0 / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01036, allocations: 239.3 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01038, allocations: 11.89 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.0104, allocations: 11.98 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.0105, allocations: 11.98 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.01058, allocations: 19.97 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01059, allocations: 7.984 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.01064, allocations: 91.7 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01064, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002437/0.01088, allocations: 19.94 kB / 0.9556 GB, free: 13.94 MB / 0.9167 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.0006395/0.01152, allocations: 0.7631 MB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.01186, allocations: 103.9 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01186, allocations: 0 / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.01202, allocations: 71.86 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.01237, allocations: 10.67 kB / 0.9566 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.01418, allocations: 1.54 MB / 0.9581 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.359e-05/0.01424, allocations: 75.58 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.446e-05/0.01431, allocations: 8 kB / 0.9581 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.01439, allocations: 36.47 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01439, allocations: 0 / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.03361, allocations: 3.491 MB / 0.9616 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/6.853, allocations: 1.547 kB / 0.9616 GB, free: 7.863 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_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_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.832705033011734]