Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.319/2.319, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 183.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.3 MB / 0.7915 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009385, allocations: 107.2 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.68e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.13, allocations: 154.1 MB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.13, allocations: 78.34 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03/1.16, allocations: 11.12 MB / 1.38 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.16, allocations: 0 / 1.38 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.422e-05/1.16, allocations: 12 kB / 1.38 GB, free: 6.52 MB / 0.8386 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.0007881/1.161, allocations: 0.5233 MB / 1.381 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.161, allocations: 8.031 kB / 1.381 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.161, allocations: 35.58 kB / 1.381 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/1.162, allocations: 396.4 kB / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/1.162, allocations: 15.44 kB / 1.381 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/1.162, allocations: 7.438 kB / 1.381 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/1.162, allocations: 104.8 kB / 1.381 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.162, allocations: 0 / 1.381 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.162, allocations: 3.984 kB / 1.381 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.162, allocations: 8 kB / 1.381 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/1.162, allocations: 61.33 kB / 1.381 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/1.163, allocations: 0.5173 MB / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/1.163, allocations: 129.6 kB / 1.382 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/1.164, allocations: 43.92 kB / 1.382 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/1.164, allocations: 0 / 1.382 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/1.164, allocations: 123.8 kB / 1.382 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/1.164, allocations: 0 / 1.382 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003387/1.164, allocations: 169.9 kB / 1.382 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.164, allocations: 55.41 kB / 1.382 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/1.165, allocations: 470.7 kB / 1.383 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/1.165, allocations: 29.2 kB / 1.383 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.165, allocations: 167.7 kB / 1.383 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.165, allocations: 50.69 kB / 1.383 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/1.165, allocations: 11.69 kB / 1.383 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.165, allocations: 346.3 kB / 1.383 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/1.165, allocations: 112.5 kB / 1.383 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/1.165, allocations: 148.3 kB / 1.384 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.166, allocations: 123.2 kB / 1.384 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.166, allocations: 4 kB / 1.384 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004917/1.166, allocations: 353.4 kB / 1.384 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.166, allocations: 13.36 kB / 1.384 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.166, allocations: 0 / 1.384 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.166, allocations: 0 / 1.384 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.166, allocations: 51.91 kB / 1.384 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.166, allocations: 0 / 1.384 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/1.167, allocations: 19.41 kB / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.167, allocations: 27.53 kB / 1.384 GB, free: 2.902 MB / 0.8386 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/1.167, allocations: 123.8 kB / 1.384 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/1.167, allocations: 27.62 kB / 1.384 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/1.167, allocations: 206.4 kB / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.167, allocations: 0 / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.167, allocations: 0 / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.167, allocations: 0 / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/1.167, allocations: 315.1 kB / 1.385 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/1.167, allocations: 4 kB / 1.385 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/1.168, allocations: 15.94 kB / 1.385 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.168, allocations: 0 / 1.385 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.168, allocations: 7.984 kB / 1.385 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/1.168, allocations: 3.953 kB / 1.385 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.168, allocations: 0 / 1.385 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/1.168, allocations: 209.6 kB / 1.385 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/1.168, allocations: 119 kB / 1.385 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/1.168, allocations: 19.62 kB / 1.385 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.168, allocations: 7.984 kB / 1.385 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.168, allocations: 23.61 kB / 1.385 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.168, allocations: 7.688 kB / 1.385 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003328/1.169, allocations: 318.5 kB / 1.386 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.169, allocations: 0 / 1.386 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002939/1.169, allocations: 70.38 kB / 1.386 GB, free: 1.57 MB / 0.8386 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.u1,intEqu.u2,intEqu.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008291/1.17, allocations: 391.6 kB / 1.386 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003014/1.17, allocations: 196.2 kB / 1.386 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.17, allocations: 0 / 1.386 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/1.17, allocations: 65.34 kB / 1.386 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/1.171, allocations: 79.58 kB / 1.386 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/1.171, allocations: 432.2 kB / 1.387 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.172, allocations: 0.7948 MB / 1.387 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000157/1.172, allocations: 54.94 kB / 1.388 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/1.172, allocations: 35.05 kB / 1.388 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.172, allocations: 0 / 1.388 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.007432/1.179, allocations: 3.975 MB / 1.391 GB, free: 11.86 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches