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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008766, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009871/0.0009873, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.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.296/2.296, allocations: 390.3 MB / 0.6653 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 16 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7607, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.0009804/0.7618, allocations: 396.9 kB / 0.9539 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.7626, allocations: 0.7824 MB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.7627, allocations: 3.938 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.7627, allocations: 0 / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.7628, allocations: 9.172 kB / 0.9547 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.113e-05/0.7628, allocations: 5.188 kB / 0.9547 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.7629, allocations: 12.92 kB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.763, allocations: 10.42 kB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.7631, allocations: 10.45 kB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.7631, allocations: 6.812 kB / 0.9547 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.7632, allocations: 2.062 kB / 0.9547 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7632, allocations: 1 kB / 0.9547 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.7632, allocations: 7.922 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.7632, allocations: 27.42 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.022e-05/0.7633, allocations: 23.38 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.7633, allocations: 0 / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.647e-06/0.7633, allocations: 0 / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7633, allocations: 1.5 kB / 0.9548 GB, free: 7.07 MB / 0.7169 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.0004101/0.7637, allocations: 334.9 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7638, allocations: 10.09 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.7638, allocations: 8.828 kB / 0.9551 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.7639, allocations: 173.1 kB / 0.9553 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.764, allocations: 0 / 0.9553 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.764, allocations: 5.594 kB / 0.9553 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.7642, allocations: 57.36 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.7642, allocations: 1.156 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7642, allocations: 0 / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7642, allocations: 0 / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.7644, allocations: 49.52 kB / 0.9554 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.7647, allocations: 251.5 kB / 0.9556 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.7649, allocations: 43.44 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.7649, allocations: 5.062 kB / 0.9557 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.7649, allocations: 34.56 kB / 0.9557 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7649, allocations: 1.281 kB / 0.9557 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003707/0.7653, allocations: 102.1 kB / 0.9558 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.7653, allocations: 52.59 kB / 0.9559 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.7654, allocations: 103.3 kB / 0.956 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.7654, allocations: 29.77 kB / 0.956 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.7655, allocations: 90.19 kB / 0.9561 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7655, allocations: 5.031 kB / 0.9561 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.7655, allocations: 4 kB / 0.9561 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.7656, allocations: 315.8 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.7657, allocations: 17.67 kB / 0.9564 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.7657, allocations: 31.05 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.283e-05/0.7658, allocations: 17.27 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7658, allocations: 0 / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001959/0.766, allocations: 82.5 kB / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7661, allocations: 5 kB / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7661, allocations: 0 / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7661, allocations: 0.9062 kB / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.7662, allocations: 10.61 kB / 0.9566 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.7662, allocations: 9.125 kB / 0.9566 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.7663, allocations: 10.72 kB / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.7663, allocations: 1.562 kB / 0.9566 GB, free: 5.289 MB / 0.7169 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 () * Number of clocked 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 5.874e-05/0.7663, allocations: 111.3 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.7664, allocations: 1.094 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.7664, allocations: 8.562 kB / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7664, allocations: 0 / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7664, allocations: 1.406 kB / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7664, allocations: 7.891 kB / 0.9567 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.7665, allocations: 161.6 kB / 0.9568 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7666, allocations: 1.281 kB / 0.9568 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.7666, allocations: 11.28 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7666, allocations: 0 / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.7666, allocations: 1.406 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7666, allocations: 0 / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7666, allocations: 0 / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.7669, allocations: 180.1 kB / 0.957 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.7669, allocations: 82.19 kB / 0.9571 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.7669, allocations: 5.172 kB / 0.9571 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.767, allocations: 6.531 kB / 0.9571 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.767, allocations: 10.14 kB / 0.9571 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.767, allocations: 1.406 kB / 0.9571 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.325e-05/0.7671, allocations: 91.38 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7671, allocations: 0 / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.7673, allocations: 3.906 kB / 0.9572 GB, free: 4.594 MB / 0.7169 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 () * Number of clocked 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.0001196/0.7674, allocations: 105.5 kB / 0.9573 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.7676, allocations: 50.27 kB / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7676, allocations: 0 / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.7677, allocations: 25.02 kB / 0.9574 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.7679, allocations: 6.406 kB / 0.9574 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.7682, allocations: 107.3 kB / 0.9575 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.7683, allocations: 0.6786 MB / 0.9582 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.7683, allocations: 4.906 kB / 0.9582 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.7684, allocations: 8.562 kB / 0.9582 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7684, allocations: 0 / 0.9582 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.002579/0.7709, allocations: 388.3 kB / 0.9586 GB, free: 3.441 MB / 0.7169 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