Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 103.7 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 75.94 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003988/0.3145, allocations: 2.011 MB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.3168, allocations: 1.205 MB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.317, allocations: 4 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.3175, allocations: 159.4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.318, allocations: 155.3 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.3186, allocations: 226.7 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.3192, allocations: 319.2 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3194, allocations: 48.38 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.3197, allocations: 143.5 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.32, allocations: 139.4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.3201, allocations: 12 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3202, allocations: 67.89 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3204, allocations: 83.73 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3205, allocations: 119.2 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.321, allocations: 367 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.321, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.321, allocations: 4 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3211, allocations: 0 / 1.023 GB, free: 5.586 MB / 0.795 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.001091/0.3222, allocations: 0.6147 MB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.3222, allocations: 12.86 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.3223, allocations: 36.47 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.3229, allocations: 374.1 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3229, allocations: 8 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3229, allocations: 12 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3232, allocations: 108.1 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3232, allocations: 0 / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3232, allocations: 4 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3232, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3234, allocations: 63.95 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.3243, allocations: 0.4925 MB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.3247, allocations: 130.7 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3248, allocations: 48.83 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3248, allocations: 4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.3251, allocations: 122.4 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.3252, allocations: 0 / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0006221/0.3258, allocations: 221.1 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3258, allocations: 55.41 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.3265, allocations: 0.5054 MB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/0.3266, allocations: 29.69 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3267, allocations: 172.4 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3268, allocations: 39.55 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3269, allocations: 69.88 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3271, allocations: 342.8 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3273, allocations: 104.5 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3275, allocations: 136.1 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.3279, allocations: 192 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3279, allocations: 0 / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005906/0.3285, allocations: 313.2 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3285, allocations: 4 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3286, allocations: 7.938 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3286, allocations: 0 / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3288, allocations: 59.97 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3288, allocations: 0 / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.329, allocations: 23.83 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.329, allocations: 8 kB / 1.027 GB, free: 1.09 MB / 0.795 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.0001979/0.3292, allocations: 181.7 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.3293, allocations: 31.62 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.3294, allocations: 43.05 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3294, allocations: 7.984 kB / 1.027 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3294, allocations: 4 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3294, allocations: 0 / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.3297, allocations: 305.3 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3297, allocations: 0 / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.3298, allocations: 8 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3298, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3298, allocations: 15.92 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3298, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3298, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.3303, allocations: 204.6 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.3304, allocations: 116.7 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.3304, allocations: 7.938 kB / 1.028 GB, free: 84 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.3305, allocations: 7.984 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.3306, allocations: 15.98 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3306, allocations: 11.98 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005363/0.3312, allocations: 311.1 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3312, allocations: 0 / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002927/0.3315, allocations: 59.89 kB / 1.028 GB, free: 15.69 MB / 0.8106 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.00154/0.333, allocations: 415.8 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.3335, allocations: 207.5 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3335, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3336, allocations: 59.89 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3341, allocations: 97.86 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3352, allocations: 0.5646 MB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.3357, allocations: 0.783 MB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.3358, allocations: 39.42 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.3358, allocations: 7.938 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.007989/0.3438, allocations: 4.375 MB / 1.035 GB, free: 9.281 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches