Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009166, allocations: 180.8 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008281/0.000828, allocations: 100.5 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.787e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7128/0.9276, allocations: 148.6 MB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.9278, allocations: 88.22 kB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002078/0.9299, allocations: 0.6246 MB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9299, allocations: 1.25 kB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.93, allocations: 0 / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003226/0.9303, allocations: 336.9 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9303, allocations: 9.156 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.9304, allocations: 7.188 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.9305, allocations: 169.5 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9305, allocations: 3.812 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.9305, allocations: 0 / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.441e-05/0.9306, allocations: 10.56 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.404e-05/0.9306, allocations: 36.3 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.9307, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.9307, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9307, allocations: 1.312 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.931, allocations: 255.9 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.9311, allocations: 24.02 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.9311, allocations: 11.83 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.9311, allocations: 0.6562 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.9311, allocations: 35.88 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.9311, allocations: 0 / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.9313, allocations: 38.11 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.9313, allocations: 57.31 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.9314, allocations: 95.02 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.9314, allocations: 29.64 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.9314, allocations: 82.06 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.9315, allocations: 9.156 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.9315, allocations: 32 / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9316, allocations: 322.6 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.9316, allocations: 5.438 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.9316, allocations: 2.594 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.461e-05/0.9316, allocations: 6.906 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9316, allocations: 0 / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.331e-05/0.9317, allocations: 40.58 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9317, allocations: 5.125 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.9317, allocations: 1.312 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9318, allocations: 4.703 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.9318, allocations: 10.28 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.9319, allocations: 0 / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.9319, allocations: 10.91 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.9319, allocations: 3.938 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.932, allocations: 108.5 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.932, allocations: 9.219 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.9321, allocations: 8.406 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9321, allocations: 0.6562 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9321, allocations: 2.438 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9321, allocations: 0 / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.9322, allocations: 135 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9322, allocations: 5.203 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.9323, allocations: 9.672 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9323, allocations: 1.344 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.9323, allocations: 4 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9323, allocations: 0.5625 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9323, allocations: 1.281 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.9324, allocations: 134.2 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.9324, allocations: 89.59 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.9325, allocations: 2.016 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.9326, allocations: 13.11 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.9326, allocations: 8.375 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.9326, allocations: 0 / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.9327, allocations: 85 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9327, allocations: 0 / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000187/0.9329, allocations: 3.969 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.933, allocations: 99.12 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.933, allocations: 10.97 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.9331, allocations: 4.062 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.9331, allocations: 12.59 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.9333, allocations: 4.062 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.9334, allocations: 57 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.9337, allocations: 0.6772 MB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.9338, allocations: 4.828 kB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.9338, allocations: 11.28 kB / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/0.9338, allocations: 4.062 kB / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.001943/0.9357, allocations: 366.8 kB / 1.355 GB, free: 30.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches