Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 108 kB / 16.27 MB, free: 6.406 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.002254/0.002254, allocations: 193 kB / 17.2 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.216/2.216, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.2 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004024/0.2878, allocations: 1.997 MB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2901, allocations: 1.201 MB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2904, allocations: 7.938 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.2909, allocations: 155.4 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.2914, allocations: 159.4 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.2921, allocations: 223.3 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.2925, allocations: 311.2 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.2927, allocations: 52.27 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.293, allocations: 139.5 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2933, allocations: 155.4 kB / 0.9546 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.2933, allocations: 12 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2935, allocations: 59.91 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2937, allocations: 87.73 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2938, allocations: 119.2 kB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.2943, allocations: 370.9 kB / 0.9552 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2943, allocations: 0 / 0.9552 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2943, allocations: 0 / 0.9552 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2943, allocations: 0 / 0.9552 GB, free: 3.84 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.001116/0.2954, allocations: 0.6225 MB / 0.9558 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2955, allocations: 12.03 kB / 0.9558 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.2956, allocations: 36.47 kB / 0.9558 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.2962, allocations: 382.1 kB / 0.9562 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2962, allocations: 4 kB / 0.9562 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.2962, allocations: 8 kB / 0.9562 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2965, allocations: 109.5 kB / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2965, allocations: 0 / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2965, allocations: 4 kB / 0.9563 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2965, allocations: 8 kB / 0.9563 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.2967, allocations: 55.95 kB / 0.9564 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.2976, allocations: 0.4886 MB / 0.9569 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.298, allocations: 138.7 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2981, allocations: 48.83 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2982, allocations: 4 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2984, allocations: 111.5 kB / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.2984, allocations: 4 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005985/0.299, allocations: 229 kB / 0.9574 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.2991, allocations: 51.41 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.2997, allocations: 0.5093 MB / 0.9579 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2997, allocations: 25.7 kB / 0.9579 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2998, allocations: 160.5 kB / 0.9581 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.2999, allocations: 39.55 kB / 0.9581 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3, allocations: 69.95 kB / 0.9582 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3001, allocations: 346.8 kB / 0.9585 GB, free: 196 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3003, allocations: 104.4 kB / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.3006, allocations: 131.6 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.3009, allocations: 187.8 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3009, allocations: 4 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005432/0.3015, allocations: 317.1 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3015, allocations: 7.984 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3015, allocations: 7.938 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3015, allocations: 0 / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.3018, allocations: 55.91 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3018, allocations: 0 / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.302, allocations: 19.91 kB / 0.9593 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.302, allocations: 19.98 kB / 0.9593 GB, free: 15.33 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,intLes.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.0001749/0.3022, allocations: 173.8 kB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.3022, allocations: 31.62 kB / 0.9595 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.3023, allocations: 47 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3023, allocations: 0 / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3024, allocations: 0 / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3024, allocations: 0 / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.3027, allocations: 305.3 kB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3027, allocations: 0 / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.3028, allocations: 15.98 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3028, allocations: 7.984 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3028, allocations: 7.938 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3028, allocations: 0 / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3028, allocations: 0 / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3032, allocations: 208.6 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.3033, allocations: 112.7 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3033, allocations: 11.94 kB / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3035, allocations: 7.984 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.3035, allocations: 19.98 kB / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3036, allocations: 8 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003363/0.3039, allocations: 315.1 kB / 0.9606 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3039, allocations: 3.938 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003027/0.3042, allocations: 52 kB / 0.9606 GB, free: 13.93 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,intLes.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.001057/0.3053, allocations: 424.2 kB / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.3058, allocations: 203.8 kB / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3058, allocations: 0 / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3059, allocations: 59.91 kB / 0.9613 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.3064, allocations: 89.94 kB / 0.9613 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.3073, allocations: 0.5688 MB / 0.9619 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3077, allocations: 0.7946 MB / 0.9627 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.3078, allocations: 35.42 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of SimCode: time 5.1e-07/0.3078, allocations: 0 / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.007657/0.3154, allocations: 4.378 MB / 0.967 GB, free: 7.516 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches