Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001899/0.001899, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002626/0.002626, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.52 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004473/0.3693, allocations: 2.047 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.3725, allocations: 1.364 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3728, allocations: 7.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.3736, allocations: 167.4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.3745, allocations: 211.1 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.3751, allocations: 159.6 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.3758, allocations: 339.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.376, allocations: 37.14 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.3764, allocations: 167.3 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.3768, allocations: 163.4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.3768, allocations: 19.94 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.377, allocations: 59.97 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3772, allocations: 91.67 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.3775, allocations: 131.1 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.3782, allocations: 386.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3782, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3782, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.3782, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00143/0.3796, allocations: 0.5702 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3797, allocations: 11.97 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.3797, allocations: 42.73 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3799, allocations: 40.69 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.3805, allocations: 320.3 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3806, allocations: 11.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3806, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.3809, allocations: 114.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3809, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3809, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3809, allocations: 7.938 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3811, allocations: 59.95 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.3822, allocations: 479.5 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3826, allocations: 122.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3827, allocations: 48.83 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.3827, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.3831, allocations: 123.2 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3831, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005903/0.3837, allocations: 225 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3837, allocations: 51.41 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.3844, allocations: 0.5289 MB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3845, allocations: 33.69 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3846, allocations: 164.5 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.3847, allocations: 47.66 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3848, allocations: 69.92 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.385, allocations: 346.8 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3852, allocations: 104.5 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3854, allocations: 139.6 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.3858, allocations: 175 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3858, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000718/0.3865, allocations: 329.2 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3865, allocations: 16 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3865, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.3866, allocations: 4 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3868, allocations: 47.97 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3868, allocations: 7.938 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.387, allocations: 19.88 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.387, allocations: 8 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0002589/0.3873, allocations: 186.8 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.3873, allocations: 35.7 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.3878, allocations: 204.7 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3878, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3878, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3878, allocations: 3.984 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3881, allocations: 276.5 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3881, allocations: 3.984 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3881, allocations: 8 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3882, allocations: 3.938 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3882, allocations: 11.98 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3882, allocations: 4 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3882, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.3886, allocations: 200.8 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.3887, allocations: 51.67 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3887, allocations: 4 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3888, allocations: 11.98 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3889, allocations: 19.98 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3889, allocations: 11.98 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003821/0.3893, allocations: 319.1 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003518/0.3897, allocations: 63.89 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002251/0.3919, allocations: 1.062 MB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3924, allocations: 179.8 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3924, allocations: 0 / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3925, allocations: 55.91 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.3931, allocations: 102.9 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.3978, allocations: 3.192 MB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3983, allocations: 0.7987 MB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.3985, allocations: 46.95 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3987, allocations: 115.4 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.3987, allocations: 0 / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.4362, allocations: 7.554 MB / 1.349 GB, free: 9.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.24, allocations: 12.41 kB / 1.349 GB, free: 9.734 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 19.28928526188247]