Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001318, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.001403/0.001404, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 67.69 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3126, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual): time 0.003749/0.3164, allocations: 2.001 MB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3184, allocations: 1.193 MB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.3185, allocations: 4 kB / 0.9543 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.319, allocations: 167.4 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3193, allocations: 147.4 kB / 0.9546 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.3199, allocations: 231.2 kB / 0.9548 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.3202, allocations: 311.2 kB / 0.9551 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3204, allocations: 52.27 kB / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3207, allocations: 139.5 kB / 0.9553 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3209, allocations: 155.4 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.321, allocations: 12 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3211, allocations: 55.92 kB / 0.9555 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3212, allocations: 87.72 kB / 0.9556 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3214, allocations: 127.1 kB / 0.9557 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.3218, allocations: 366.7 kB / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3218, allocations: 0 / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3218, allocations: 0 / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.3218, allocations: 0 / 0.956 GB, free: 3.016 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.000957/0.3228, allocations: 0.6225 MB / 0.9566 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3228, allocations: 12.03 kB / 0.9567 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.3229, allocations: 32.47 kB / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.3234, allocations: 374.2 kB / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3234, allocations: 8 kB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3235, allocations: 8 kB / 0.9571 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3237, allocations: 113.5 kB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.3237, allocations: 0 / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3237, allocations: 8 kB / 0.9572 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3238, allocations: 4 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3239, allocations: 59.89 kB / 0.9572 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.3248, allocations: 496.4 kB / 0.9577 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3251, allocations: 142.7 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3252, allocations: 48.78 kB / 0.9579 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.3253, allocations: 0 / 0.9579 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.3255, allocations: 119.4 kB / 0.958 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3255, allocations: 0 / 0.958 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005279/0.3261, allocations: 225.1 kB / 0.9582 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3261, allocations: 55.41 kB / 0.9583 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.3267, allocations: 0.5054 MB / 0.9588 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3267, allocations: 29.7 kB / 0.9588 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3269, allocations: 160.5 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3269, allocations: 39.53 kB / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.327, allocations: 65.97 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3272, allocations: 354.8 kB / 0.9594 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3274, allocations: 96.52 kB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3276, allocations: 135.6 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.328, allocations: 176 kB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.328, allocations: 4 kB / 0.9598 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005345/0.3285, allocations: 321.1 kB / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3285, allocations: 6.5 kB / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3285, allocations: 3.938 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3286, allocations: 4 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.3288, allocations: 51.91 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3288, allocations: 4 kB / 0.9602 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.329, allocations: 19.83 kB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.329, allocations: 8.062 kB / 0.9602 GB, free: 14.53 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,intGreEqu.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.0001736/0.3292, allocations: 197.7 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3292, allocations: 27.62 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.3293, allocations: 43.06 kB / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3293, allocations: 0 / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3293, allocations: 0 / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3293, allocations: 4 kB / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3296, allocations: 297.3 kB / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3296, allocations: 0 / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.3297, allocations: 15.94 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3297, allocations: 11.97 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3297, allocations: 7.938 kB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3297, allocations: 4 kB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3297, allocations: 3.938 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.3301, allocations: 200.7 kB / 0.961 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3302, allocations: 108.7 kB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.3302, allocations: 11.94 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.3303, allocations: 11.98 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.3304, allocations: 15.98 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3304, allocations: 11.98 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003178/0.3308, allocations: 315.1 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3308, allocations: 0 / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002883/0.3311, allocations: 56 kB / 0.9615 GB, free: 13.11 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,intGreEqu.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.001037/0.3321, allocations: 423.7 kB / 0.9619 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3325, allocations: 187.8 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3326, allocations: 3.938 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3327, allocations: 63.91 kB / 0.9621 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.3332, allocations: 100.1 kB / 0.9622 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.3341, allocations: 0.524 MB / 0.9627 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3345, allocations: 0.7908 MB / 0.9635 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.3346, allocations: 58.94 kB / 0.9635 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.3347, allocations: 35.42 kB / 0.9636 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.3347, allocations: 4 kB / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.008299/0.343, allocations: 4.064 MB / 0.9676 GB, free: 7.027 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches