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.00173/0.00173, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002161/0.002161, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.215/3.215, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.002042/0.002042, allocations: 65.12 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3746, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004899/0.3795, allocations: 2.044 MB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.3829, allocations: 1.341 MB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.3832, allocations: 11.88 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.3838, allocations: 167.4 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.3846, allocations: 207.1 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.3852, allocations: 159.6 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.3858, allocations: 335.1 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.386, allocations: 36.95 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.3863, allocations: 171.3 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.3866, allocations: 163.3 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.3867, allocations: 16 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.3869, allocations: 59.97 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.387, allocations: 91.67 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3872, allocations: 123.1 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.3879, allocations: 386.3 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.3879, allocations: 3.984 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3879, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3879, allocations: 0 / 1.326 GB, free: 14.03 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.001332/0.3892, allocations: 0.6494 MB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.3893, allocations: 11.98 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.3893, allocations: 38.75 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3894, allocations: 36.7 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.3902, allocations: 394.1 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3902, allocations: 11.91 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3902, allocations: 7.938 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.3906, allocations: 109.6 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3906, allocations: 3.984 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3906, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3906, allocations: 4 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3908, allocations: 51.97 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3919, allocations: 0.5003 MB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.3924, allocations: 130.8 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3926, allocations: 44.83 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3926, allocations: 7.938 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.3929, allocations: 121.9 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3929, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007245/0.3937, allocations: 221.4 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.3937, allocations: 51.41 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.3946, allocations: 0.5288 MB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3947, allocations: 33.64 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3949, allocations: 168.5 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.3949, allocations: 47.66 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3951, allocations: 73.92 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3953, allocations: 346.8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3956, allocations: 100.5 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.3959, allocations: 135.6 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.3964, allocations: 179 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3964, allocations: 0 / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008492/0.3973, allocations: 329.3 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3973, allocations: 11.94 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3973, allocations: 0 / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3973, allocations: 3.938 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.3976, allocations: 51.97 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3976, allocations: 3.938 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.3979, allocations: 27.94 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3979, allocations: 8 kB / 1.33 GB, free: 9.387 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.000258/0.3982, allocations: 177.6 kB / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.3982, allocations: 43.64 kB / 1.33 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3983, allocations: 43.23 kB / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3984, allocations: 0 / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3984, allocations: 0 / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3984, allocations: 4 kB / 1.331 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.3988, allocations: 309.4 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3988, allocations: 0 / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.3989, allocations: 15.98 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3989, allocations: 3.938 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3989, allocations: 4 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3989, allocations: 0 / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3989, allocations: 0 / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.3995, allocations: 208.8 kB / 1.331 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.3996, allocations: 128.8 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.3997, allocations: 0 / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3998, allocations: 11.98 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.3999, allocations: 15.98 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3999, allocations: 7.984 kB / 1.331 GB, free: 8.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005751/0.4005, allocations: 327.1 kB / 1.331 GB, free: 8.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4005, allocations: 0 / 1.331 GB, free: 8.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004792/0.401, allocations: 59.89 kB / 1.332 GB, free: 7.957 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 (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.002926/0.4039, allocations: 1.073 MB / 1.333 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006533/0.4046, allocations: 186.7 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4046, allocations: 0 / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4048, allocations: 60.03 kB / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.4054, allocations: 96.17 kB / 1.333 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006292/0.4117, allocations: 3.192 MB / 1.336 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.4124, allocations: 0.7949 MB / 1.337 GB, free: 2.594 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000234/0.4127, allocations: 50.95 kB / 1.337 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.4129, allocations: 115.4 kB / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of SimCode: time 1.513e-06/0.4129, allocations: 0 / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4466, allocations: 7.366 MB / 1.344 GB, free: 11.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/9.056, allocations: 11.98 kB / 1.344 GB, free: 11.16 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.893704573158175]