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.001375/0.001375, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.00139/0.00139, allocations: 196.5 kB / 16.91 MB, free: 6.184 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.524/2.524, allocations: 437.1 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001964, allocations: 67.39 kB / 0.8694 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3162, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003922/0.3202, allocations: 2.061 MB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3224, allocations: 1.182 MB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3225, allocations: 4 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.323, allocations: 151.6 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.3235, allocations: 143.5 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.3241, allocations: 201.3 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3246, allocations: 315.2 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3247, allocations: 44.39 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.325, allocations: 155.3 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.3252, allocations: 143.4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3253, allocations: 16 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3254, allocations: 63.89 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3255, allocations: 87.73 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.3257, allocations: 119.2 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.3261, allocations: 295.6 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3261, allocations: 4 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3261, allocations: 4 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3261, allocations: 4 kB / 1.022 GB, free: 5.969 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.001042/0.3272, allocations: 0.6091 MB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3272, allocations: 12.92 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.3273, allocations: 36.47 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.3279, allocations: 382.1 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3279, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3279, allocations: 8 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3282, allocations: 109.6 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3282, allocations: 0 / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3282, allocations: 7.984 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3282, allocations: 7.938 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.3284, allocations: 51.97 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.3293, allocations: 0.4925 MB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3297, allocations: 138.7 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3299, allocations: 48.83 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3299, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.3302, allocations: 115.4 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.3302, allocations: 3.938 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005711/0.3308, allocations: 226.9 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3308, allocations: 59.39 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/0.3315, allocations: 0.5015 MB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3316, allocations: 33.7 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3318, allocations: 164.4 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.3319, allocations: 35.55 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3321, allocations: 69.88 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002773/0.3323, allocations: 350.8 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.3325, allocations: 96.52 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3328, allocations: 136.1 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3332, allocations: 183 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3332, allocations: 0 / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005918/0.3338, allocations: 329.1 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3338, allocations: 4 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3338, allocations: 7.922 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3338, allocations: 4 kB / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3341, allocations: 51.97 kB / 1.026 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3341, allocations: 4 kB / 1.026 GB, free: 1.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.3343, allocations: 19.84 kB / 1.026 GB, free: 1.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3343, allocations: 15.98 kB / 1.026 GB, free: 1.469 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.0002154/0.3345, allocations: 182.2 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.3346, allocations: 31.62 kB / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.3347, allocations: 39.06 kB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3347, allocations: 0 / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3347, allocations: 0 / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3347, allocations: 7.984 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.3351, allocations: 305.3 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3351, allocations: 0 / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.3352, allocations: 11.98 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3352, allocations: 4 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3352, allocations: 3.938 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3353, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.142e-05/0.3353, allocations: 7.984 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.3357, allocations: 211.9 kB / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3358, allocations: 112.7 kB / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.3359, allocations: 3.938 kB / 1.027 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.336, allocations: 7.984 kB / 1.027 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3361, allocations: 19.98 kB / 1.027 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3361, allocations: 4 kB / 1.027 GB, free: 452 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005226/0.3366, allocations: 319.1 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3366, allocations: 0 / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003015/0.3369, allocations: 59.84 kB / 1.028 GB, free: 76 kB / 0.795 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.001635/0.3386, allocations: 432.5 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3391, allocations: 204 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3391, allocations: 0 / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3392, allocations: 59.92 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.3397, allocations: 88.08 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3408, allocations: 0.6332 MB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.3415, allocations: 0.7792 MB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.3416, allocations: 35.42 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3416, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.007832/0.3494, allocations: 4.399 MB / 1.034 GB, free: 9.586 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=400 -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