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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001887/0.001887, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.00128/0.00128, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.00216, allocations: 64.19 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003695/0.3808, allocations: 2.01 MB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3831, allocations: 1.209 MB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3832, allocations: 3.938 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.3838, allocations: 151.5 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.3842, allocations: 155.4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.3847, allocations: 231.7 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.3851, allocations: 311.2 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3852, allocations: 44.38 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3854, allocations: 151.4 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3856, allocations: 147.4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3857, allocations: 20 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3858, allocations: 51.98 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3859, allocations: 87.72 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3861, allocations: 131.1 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.3864, allocations: 354.7 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3865, allocations: 4 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3865, allocations: 7.984 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3865, allocations: 0 / 1.024 GB, free: 4.797 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.0009446/0.3874, allocations: 0.6147 MB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3875, allocations: 12.62 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.3876, allocations: 40.45 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.3881, allocations: 374.2 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3882, allocations: 7.984 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3882, allocations: 8 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3885, allocations: 105.6 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3885, allocations: 0 / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3885, allocations: 11.94 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3885, allocations: 8 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3887, allocations: 59.95 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.3895, allocations: 496.4 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3899, allocations: 138.8 kB / 1.026 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.39, allocations: 48.83 kB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.39, allocations: 3.938 kB / 1.026 GB, free: 2.738 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.3903, allocations: 115.3 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.3903, allocations: 0 / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005284/0.3908, allocations: 226.4 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3909, allocations: 55.41 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.3914, allocations: 0.5054 MB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3914, allocations: 33.7 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3916, allocations: 160.4 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3916, allocations: 31.56 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3917, allocations: 77.8 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3919, allocations: 346.8 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3921, allocations: 104.5 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3923, allocations: 140.1 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3926, allocations: 175.5 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3927, allocations: 3.938 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005121/0.3932, allocations: 321.2 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.3932, allocations: 14.58 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3932, allocations: 3.938 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3933, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.3935, allocations: 43.97 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3935, allocations: 4 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3936, allocations: 19.78 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.3937, allocations: 15.98 kB / 1.028 GB, free: 304 kB / 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.0001699/0.3939, allocations: 182.5 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3939, allocations: 31.62 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.394, allocations: 39.06 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.394, allocations: 0 / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.394, allocations: 3.938 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.394, allocations: 0 / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3943, allocations: 309.3 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3943, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.809e-05/0.3944, allocations: 15.98 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3944, allocations: 0 / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3944, allocations: 11.94 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3944, allocations: 0 / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3944, allocations: 4 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.3948, allocations: 200.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3949, allocations: 108.7 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.395, allocations: 7.922 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.395, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.3951, allocations: 31.91 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3951, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003276/0.3955, allocations: 323.1 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3955, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002913/0.3958, allocations: 59.91 kB / 1.029 GB, free: 14.89 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.001014/0.3968, allocations: 415.2 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3973, allocations: 199.9 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3973, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3974, allocations: 59.91 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3979, allocations: 101.9 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.3987, allocations: 0.5096 MB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3991, allocations: 0.7949 MB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.3993, allocations: 50.95 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.3994, allocations: 35.42 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3994, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.008157/0.4075, allocations: 4.053 MB / 1.035 GB, free: 8.844 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 -s cvode -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