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/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.001121/0.001121, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009519/0.0009519, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9709/0.9709, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.206/2.206, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.997e-05, allocations: 6.25 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002481/0.002501, allocations: 2.041 MB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.004324, allocations: 1.297 MB / 0.8827 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.004423, allocations: 7.938 kB / 0.8827 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.004788, allocations: 153.4 kB / 0.8828 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.005257, allocations: 227.9 kB / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.005474, allocations: 163.5 kB / 0.8832 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.005799, allocations: 348.1 kB / 0.8835 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.005928, allocations: 36.91 kB / 0.8836 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.006525, allocations: 277.1 kB / 0.8838 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.006687, allocations: 135.7 kB / 0.884 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.006713, allocations: 16.75 kB / 0.884 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.006806, allocations: 63.83 kB / 0.884 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.006894, allocations: 103.2 kB / 0.8841 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.006956, allocations: 63.73 kB / 0.8842 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.007318, allocations: 254.9 kB / 0.8844 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007321, allocations: 4 kB / 0.8844 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007322, allocations: 0 / 0.8844 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.007327, allocations: 0 / 0.8844 GB, free: 0.8945 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.0006714/0.007998, allocations: 0.67 MB / 0.8851 GB, free: 192 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.008035, allocations: 12.03 kB / 0.8851 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.008096, allocations: 44.66 kB / 0.8851 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.00838, allocations: 294.2 kB / 0.8854 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.008399, allocations: 4.969 kB / 0.8854 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.008418, allocations: 17.41 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.008558, allocations: 90.33 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.008566, allocations: 3.938 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.008577, allocations: 7.984 kB / 0.8855 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.008582, allocations: 4 kB / 0.8855 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.008632, allocations: 27.97 kB / 0.8856 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.009101, allocations: 399.8 kB / 0.886 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.009235, allocations: 87.25 kB / 0.886 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.00927, allocations: 23.67 kB / 0.8861 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.009282, allocations: 4 kB / 0.8861 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.009575, allocations: 100.9 kB / 0.8862 GB, free: 15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.009576, allocations: 0 / 0.8862 GB, free: 15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002455/0.009822, allocations: 165.4 kB / 0.8863 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.009853, allocations: 51.41 kB / 0.8864 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.01035, allocations: 442.4 kB / 0.8868 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01037, allocations: 37.64 kB / 0.8868 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01048, allocations: 227.2 kB / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.01051, allocations: 39.72 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.01059, allocations: 83.55 kB / 0.8872 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.01079, allocations: 0.5312 MB / 0.8877 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.01084, allocations: 32.53 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.01091, allocations: 72.62 kB / 0.8878 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.01101, allocations: 116.4 kB / 0.8879 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01102, allocations: 0 / 0.8879 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002097/0.01123, allocations: 205.4 kB / 0.8881 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01124, allocations: 8 kB / 0.8881 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01124, allocations: 0 / 0.8881 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.01125, allocations: 4 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01138, allocations: 51.89 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.01138, allocations: 4 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.01144, allocations: 19.83 kB / 0.8882 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01146, allocations: 15.98 kB / 0.8882 GB, free: 12.82 MB / 0.8542 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 9.054e-05/0.01155, allocations: 172.5 kB / 0.8883 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01158, allocations: 39.77 kB / 0.8884 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.01177, allocations: 152.8 kB / 0.8885 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01177, allocations: 0 / 0.8885 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01177, allocations: 0 / 0.8885 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01178, allocations: 4 kB / 0.8885 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01192, allocations: 200.9 kB / 0.8887 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01192, allocations: 0 / 0.8887 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.01196, allocations: 12 kB / 0.8887 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01196, allocations: 0 / 0.8887 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.01197, allocations: 7.984 kB / 0.8887 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01197, allocations: 3.938 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01198, allocations: 4 kB / 0.8888 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.01214, allocations: 196 kB / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.01217, allocations: 35.75 kB / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.0122, allocations: 4 kB / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.01224, allocations: 11.98 kB / 0.889 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.01228, allocations: 15.97 kB / 0.889 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01229, allocations: 4 kB / 0.889 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002738/0.01256, allocations: 267 kB / 0.8893 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01256, allocations: 0 / 0.8893 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001868/0.01275, allocations: 63.94 kB / 0.8893 GB, free: 11.59 MB / 0.8542 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 (15): * Single equations (assignments): 11 * 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.0007919/0.01354, allocations: 400.1 kB / 0.8897 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.0137, allocations: 111.5 kB / 0.8898 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0137, allocations: 0 / 0.8898 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.01376, allocations: 51.59 kB / 0.8899 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.01403, allocations: 101.7 kB / 0.89 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01453, allocations: 484.8 kB / 0.8904 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.077e-05/0.01459, allocations: 104.6 kB / 0.8905 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.14e-05/0.01467, allocations: 51.08 kB / 0.8906 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.01481, allocations: 134.2 kB / 0.8907 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01481, allocations: 0 / 0.8907 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.006604/0.02141, allocations: 4.964 MB / 0.8955 GB, free: 5.379 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.669741714838892]