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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 497.2 MB / 0.7812 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001939/0.001939, allocations: 74.34 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3716, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002123/0.3737, allocations: 0.7719 MB / 1.305 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3748, allocations: 0.8662 MB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3749, allocations: 4 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.3749, allocations: 7.875 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.375, allocations: 3.938 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.3752, allocations: 43.89 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3753, allocations: 87.81 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3754, allocations: 19.98 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.3755, allocations: 35.84 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3756, allocations: 51.81 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.3756, allocations: 8 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.3757, allocations: 11.94 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3757, allocations: 19.98 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.3757, allocations: 39.72 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3759, allocations: 91.88 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3759, allocations: 0 / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3759, allocations: 4 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3759, allocations: 0 / 1.306 GB, free: 15.46 MB / 1.014 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.0007278/0.3766, allocations: 391.1 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3767, allocations: 8.922 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.3767, allocations: 46.75 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3768, allocations: 12.84 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3769, allocations: 176.3 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.377, allocations: 4.375 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.377, allocations: 8.125 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3773, allocations: 105.2 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3773, allocations: 0 / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3773, allocations: 4 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3773, allocations: 8 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.3777, allocations: 99.83 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.3783, allocations: 340.7 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3789, allocations: 122.5 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.3791, allocations: 60.86 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3791, allocations: 4 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3791, allocations: 30.56 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3791, allocations: 0 / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006455/0.3798, allocations: 177.5 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3798, allocations: 55.41 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.38, allocations: 133.6 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.38, allocations: 29.7 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.38, allocations: 104 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3801, allocations: 19.83 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3801, allocations: 25.7 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3803, allocations: 314.8 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3805, allocations: 43.95 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3806, allocations: 48.25 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.3809, allocations: 104.9 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3809, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000385/0.3813, allocations: 129.6 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3814, allocations: 18.17 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3814, allocations: 0 / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3814, allocations: 0 / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3815, allocations: 27.91 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3816, allocations: 3.938 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3817, allocations: 15.98 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3817, allocations: 7.938 kB / 1.309 GB, free: 12.61 MB / 1.014 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 9.937e-05/0.3818, allocations: 117.8 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3818, allocations: 7.953 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.3818, allocations: 16.36 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3818, allocations: 0 / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3818, allocations: 3.938 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3818, allocations: 0 / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3821, allocations: 205.5 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3821, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3822, allocations: 23.97 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3822, allocations: 0 / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3822, allocations: 12 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3822, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3823, allocations: 7.922 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.3828, allocations: 227.4 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.3828, allocations: 89 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3828, allocations: 4 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.383, allocations: 19.97 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.3831, allocations: 23.92 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3831, allocations: 0 / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.362e-05/0.3831, allocations: 99.2 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3831, allocations: 0 / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002562/0.3834, allocations: 12 kB / 1.309 GB, free: 11.66 MB / 1.014 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.0008755/0.3843, allocations: 0.7709 MB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.3847, allocations: 107.9 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3847, allocations: 0 / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3849, allocations: 67.88 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3852, allocations: 7.938 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3874, allocations: 1.537 MB / 1.312 GB, free: 9.062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.3878, allocations: 0.6937 MB / 1.312 GB, free: 8.344 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.3879, allocations: 8 kB / 1.312 GB, free: 8.336 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.388, allocations: 27.42 kB / 1.313 GB, free: 8.309 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/0.388, allocations: 0 / 1.313 GB, free: 8.309 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/0.5355, allocations: 2.702 MB / 1.315 GB, free: 5.707 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.851, allocations: 17.69 kB / 1.315 GB, free: 5.691 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.507368609309196]