Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001338/0.001338, allocations: 105.4 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.001472/0.001472, 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9421, allocations: 168.7 MB / 1.269 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003912/0.946, allocations: 1.991 MB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.9485, allocations: 1.221 MB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.9487, allocations: 7.938 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.9492, allocations: 155.4 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.9497, allocations: 159.4 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.9505, allocations: 226.8 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.9511, allocations: 319.2 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.9514, allocations: 30.22 kB / 1.273 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.9517, allocations: 155.4 kB / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.952, allocations: 163.3 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.9521, allocations: 12 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.9523, allocations: 55.98 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.9524, allocations: 99.66 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.9525, allocations: 119.2 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.9531, allocations: 370.4 kB / 1.274 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9531, allocations: 0 / 1.274 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9531, allocations: 3.938 kB / 1.274 GB, free: 48 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.9531, allocations: 0 / 1.274 GB, free: 48 kB / 0.9669 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.001178/0.9543, allocations: 0.634 MB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9543, allocations: 8.031 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.9544, allocations: 38.75 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.9545, allocations: 40.7 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.9551, allocations: 382.1 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.9552, allocations: 8 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.9552, allocations: 4 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.9555, allocations: 115.5 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.9555, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.9555, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9555, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.9557, allocations: 71.89 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.9566, allocations: 492.4 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.9569, allocations: 134.7 kB / 1.276 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.9571, allocations: 44.84 kB / 1.276 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.9571, allocations: 3.984 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.9573, allocations: 115.3 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.9573, allocations: 0 / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005569/0.9579, allocations: 228.2 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.9579, allocations: 51.41 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.9586, allocations: 0.5132 MB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.9586, allocations: 29.7 kB / 1.277 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.9587, allocations: 160.5 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.9588, allocations: 39.69 kB / 1.277 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.9589, allocations: 69.97 kB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.9591, allocations: 342.8 kB / 1.277 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.9593, allocations: 100.5 kB / 1.277 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.9595, allocations: 136.1 kB / 1.277 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.9598, allocations: 191 kB / 1.277 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9598, allocations: 4 kB / 1.277 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006496/0.9605, allocations: 317.3 kB / 1.278 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9605, allocations: 15.94 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9605, allocations: 4 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9605, allocations: 0 / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.9609, allocations: 55.91 kB / 1.278 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9609, allocations: 0 / 1.278 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.9611, allocations: 23.88 kB / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.9612, allocations: 11.94 kB / 1.278 GB, free: 11.48 MB / 0.9825 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.0002702/0.9615, allocations: 185.7 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.9615, allocations: 43.7 kB / 1.278 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.9616, allocations: 35.12 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9617, allocations: 4 kB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.9617, allocations: 0 / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9617, allocations: 0 / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.9621, allocations: 301.4 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9621, allocations: 0 / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.9622, allocations: 8 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.9622, allocations: 3.938 kB / 1.278 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.9622, allocations: 11.98 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.9622, allocations: 0 / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9622, allocations: 8 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.9626, allocations: 208.8 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.9627, allocations: 112.9 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.9628, allocations: 8 kB / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.9628, allocations: 7.984 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.9629, allocations: 15.98 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.9629, allocations: 15.98 kB / 1.279 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003754/0.9633, allocations: 311.1 kB / 1.279 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9633, allocations: 0 / 1.279 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003083/0.9636, allocations: 59.88 kB / 1.279 GB, free: 10.07 MB / 0.9825 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * 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.002184/0.9658, allocations: 1.073 MB / 1.28 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.9662, allocations: 184.1 kB / 1.28 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9662, allocations: 0 / 1.28 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.9664, allocations: 55.91 kB / 1.28 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.9669, allocations: 95.73 kB / 1.281 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.9712, allocations: 3.121 MB / 1.284 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.9716, allocations: 0.787 MB / 1.284 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.9718, allocations: 46.95 kB / 1.284 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.972, allocations: 107.4 kB / 1.285 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.972, allocations: 4 kB / 1.285 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/1.008, allocations: 7.182 MB / 1.292 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.542, allocations: 14.11 kB / 1.292 GB, free: 13.55 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.715462422929704]