Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9649/0.9649, allocations: 177.2 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.182/2.182, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.866e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001312/0.001331, allocations: 0.7304 MB / 0.8801 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.002157, allocations: 0.8768 MB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.002199, allocations: 0 / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.002226, allocations: 9.172 kB / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.0023, allocations: 5.906 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.002425, allocations: 25.23 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.002492, allocations: 45.55 kB / 0.8811 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.002575, allocations: 7.984 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.002648, allocations: 35.91 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.002692, allocations: 15.23 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.00271, allocations: 4 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.002718, allocations: 7.938 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002739, allocations: 19.91 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.002756, allocations: 8 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.002833, allocations: 39.81 kB / 0.8812 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002835, allocations: 4 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002836, allocations: 0 / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002839, allocations: 0 / 0.8812 GB, free: 4.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003337/0.003173, allocations: 377.1 kB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.003203, allocations: 9.688 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.003229, allocations: 4.938 kB / 0.8816 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.003307, allocations: 112.6 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.003325, allocations: 8.375 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.003332, allocations: 0.875 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.00344, allocations: 72.17 kB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003447, allocations: 3.938 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003453, allocations: 0 / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.003458, allocations: 5.375 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.003486, allocations: 11.98 kB / 0.8818 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.003737, allocations: 252.3 kB / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.004073, allocations: 56.55 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.004092, allocations: 15.62 kB / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.004102, allocations: 0 / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.004124, allocations: 45.36 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.004125, allocations: 0 / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001329/0.004258, allocations: 61.58 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.004283, allocations: 51.41 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.004349, allocations: 165.9 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.004358, allocations: 25.7 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.004403, allocations: 138.9 kB / 0.8825 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.004418, allocations: 7.906 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.004447, allocations: 23.36 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.004553, allocations: 0.4923 MB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.004567, allocations: 4 kB / 0.8831 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.004579, allocations: 4 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004614, allocations: 23.67 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004615, allocations: 0 / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.3e-05/0.004678, allocations: 53.56 kB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004688, allocations: 8 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004692, allocations: 0 / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.0047, allocations: 0 / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.004758, allocations: 11.98 kB / 0.8832 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.00476, allocations: 4 kB / 0.8832 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.004787, allocations: 8.281 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.004792, allocations: 4 kB / 0.8832 GB, free: 1.992 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.898e-05/0.004851, allocations: 156.6 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.004871, allocations: 15.92 kB / 0.8833 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.004888, allocations: 4 kB / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00489, allocations: 0 / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004892, allocations: 0 / 0.8833 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004894, allocations: 4 kB / 0.8833 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.004992, allocations: 105.2 kB / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004993, allocations: 0 / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.005023, allocations: 15.98 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.005024, allocations: 0 / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.00503, allocations: 3.938 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005032, allocations: 7.938 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.005033, allocations: 3.938 kB / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.005137, allocations: 195.9 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.005144, allocations: 3.938 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.005156, allocations: 11.92 kB / 0.8837 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.005193, allocations: 0 / 0.8837 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.005233, allocations: 11.98 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.005236, allocations: 4 kB / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.005272, allocations: 139.2 kB / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005272, allocations: 0 / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001406/0.005413, allocations: 4 kB / 0.8838 GB, free: 1.262 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.449e-05/0.005477, allocations: 95.25 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.005551, allocations: 27.61 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.71e-07/0.005551, allocations: 0 / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.00558, allocations: 23.67 kB / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.005753, allocations: 13.55 kB / 0.884 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.005976, allocations: 130.3 kB / 0.8841 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.006003, allocations: 51.36 kB / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.006028, allocations: 7.984 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.006083, allocations: 78.2 kB / 0.8842 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.006083, allocations: 4 kB / 0.8842 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of Templates: time 0.002398/0.008482, allocations: 1.062 MB / 0.8853 GB, free: 15.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.495305475778878]