Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00165/0.001649, allocations: 106 kB / 15.99 MB, free: 6.352 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.002016/0.002016, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.513/1.513, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.97 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.289, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003663/0.2927, allocations: 2.043 MB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2948, allocations: 1.182 MB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.295, allocations: 7.938 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.2955, allocations: 147.6 kB / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.2959, allocations: 143.5 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.2966, allocations: 203.5 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.297, allocations: 311.2 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2972, allocations: 52.27 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.2975, allocations: 151.4 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2977, allocations: 155.4 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.2978, allocations: 20 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.298, allocations: 55.97 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2981, allocations: 95.66 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2982, allocations: 123.2 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2986, allocations: 291.6 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2986, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2986, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.2986, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 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.001002/0.2996, allocations: 0.6225 MB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2997, allocations: 12.03 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.2998, allocations: 36.47 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.3003, allocations: 374.2 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3003, allocations: 4 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3004, allocations: 8 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3006, allocations: 115.5 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3007, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3007, allocations: 4 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3007, allocations: 0 / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3009, allocations: 63.95 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.3017, allocations: 0.4925 MB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.3021, allocations: 138.8 kB / 0.9564 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3023, allocations: 44.78 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3023, allocations: 4 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.3026, allocations: 115.4 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.3026, allocations: 0 / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005356/0.3031, allocations: 229.1 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3032, allocations: 51.41 kB / 0.9568 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.3037, allocations: 0.5093 MB / 0.9573 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3038, allocations: 29.7 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3039, allocations: 160.5 kB / 0.9575 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.3039, allocations: 43.47 kB / 0.9576 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.304, allocations: 65.97 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3042, allocations: 354.8 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3044, allocations: 96.52 kB / 0.9581 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3046, allocations: 131.6 kB / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.3049, allocations: 182.3 kB / 0.9584 GB, free: 200 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.305, allocations: 4 kB / 0.9584 GB, free: 196 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005609/0.3055, allocations: 321 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3055, allocations: 8 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3056, allocations: 3.938 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3056, allocations: 0 / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3058, allocations: 47.97 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3058, allocations: 7.875 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.306, allocations: 27.83 kB / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.306, allocations: 16.06 kB / 0.9588 GB, free: 15.76 MB / 0.7481 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.0001792/0.3062, allocations: 177.3 kB / 0.9589 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.3063, allocations: 35.61 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.3064, allocations: 43 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3064, allocations: 3.938 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3064, allocations: 4 kB / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3064, allocations: 0 / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3067, allocations: 309.3 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3067, allocations: 0 / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.3068, allocations: 12 kB / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3068, allocations: 4 kB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3068, allocations: 7.922 kB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3068, allocations: 0 / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3068, allocations: 0 / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3072, allocations: 204.4 kB / 0.9595 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.3073, allocations: 112.7 kB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.3073, allocations: 3.938 kB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.3074, allocations: 19.92 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.3075, allocations: 15.98 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3075, allocations: 7.984 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003368/0.3079, allocations: 311.1 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3079, allocations: 0 / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003015/0.3082, allocations: 63.98 kB / 0.96 GB, free: 14.37 MB / 0.7481 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.001047/0.3093, allocations: 423.1 kB / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3097, allocations: 204 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3097, allocations: 0 / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3099, allocations: 59.97 kB / 0.9607 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.3104, allocations: 82.78 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.3113, allocations: 0.6388 MB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3118, allocations: 0.7946 MB / 0.9622 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.3119, allocations: 35.42 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.3119, allocations: 0 / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.007476/0.3193, allocations: 4.381 MB / 0.9665 GB, free: 7.879 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches