Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001268/0.001268, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009908, allocations: 87.97 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.566e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.391, allocations: 150.1 MB / 1.365 GB, free: 4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.391, allocations: 83.38 kB / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001656/1.393, allocations: 0.6432 MB / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.393, allocations: 0 / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.393, allocations: 0 / 1.366 GB, free: 3.348 MB / 0.823 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.0003487/1.393, allocations: 333.9 kB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.393, allocations: 8.031 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/1.393, allocations: 0.625 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.393, allocations: 170.9 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/1.393, allocations: 4 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/1.393, allocations: 0 / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/1.393, allocations: 40.81 kB / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.393, allocations: 0 / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.393, allocations: 0 / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.393, allocations: 0 / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/1.393, allocations: 18.69 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/1.394, allocations: 267.6 kB / 1.367 GB, free: 2.402 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/1.394, allocations: 21.77 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/1.394, allocations: 12.17 kB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.394, allocations: 0 / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.394, allocations: 38.5 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.394, allocations: 7.938 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/1.394, allocations: 37.2 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.394, allocations: 51.41 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/1.394, allocations: 105.2 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/1.394, allocations: 29.64 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/1.394, allocations: 84.02 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/1.394, allocations: 3.906 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.394, allocations: 0 / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.395, allocations: 322.1 kB / 1.367 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/1.395, allocations: 0 / 1.367 GB, free: 1.664 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/1.395, allocations: 6.938 kB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/1.395, allocations: 9.953 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.395, allocations: 0 / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.858e-05/1.395, allocations: 40.77 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.395, allocations: 9.406 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.395, allocations: 0 / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.395, allocations: 0 / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.395, allocations: 16.08 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.395, allocations: 0 / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/1.395, allocations: 11.98 kB / 1.368 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.395, allocations: 6.953 kB / 1.368 GB, free: 1.57 MB / 0.823 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 (greEquThr.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.326e-05/1.395, allocations: 101 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.395, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/1.395, allocations: 7.125 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/1.395, allocations: 0 / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.395, allocations: 0 / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/1.395, allocations: 0 / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/1.395, allocations: 163.2 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.395, allocations: 0 / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/1.395, allocations: 11.94 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.395, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/1.395, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/1.395, allocations: 7.984 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.395, allocations: 7.938 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/1.395, allocations: 137.9 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/1.396, allocations: 85.05 kB / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/1.396, allocations: 0 / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/1.396, allocations: 11.98 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/1.396, allocations: 7.516 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/1.396, allocations: 8.859 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.07e-05/1.396, allocations: 79.28 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.396, allocations: 0 / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001902/1.396, allocations: 4 kB / 1.368 GB, free: 0.875 MB / 0.823 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 (greEquThr.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.0001341/1.396, allocations: 102.5 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.845e-05/1.396, allocations: 15.56 kB / 1.368 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.396, allocations: 0 / 1.368 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/1.396, allocations: 16 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/1.396, allocations: 7.078 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/1.397, allocations: 64.3 kB / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.397, allocations: 0.677 MB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.437e-05/1.397, allocations: 0 / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/1.397, allocations: 7.438 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.397, allocations: 4 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of Templates: time 0.002334/1.399, allocations: 404 kB / 1.369 GB, free: 15.59 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches