Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001521/0.001521, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001483/0.001483, allocations: 173 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.9213/0.9213, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.176/2.176, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.539e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00284/0.002865, allocations: 1.511 MB / 0.8809 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.003741, allocations: 494.1 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.003783, allocations: 0 / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.003813, allocations: 1.094 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.003892, allocations: 7.938 kB / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.004108, allocations: 20.86 kB / 0.8814 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.161e-05/0.00419, allocations: 27.92 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.004285, allocations: 8.5 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.004375, allocations: 15.94 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.004414, allocations: 8.766 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.004428, allocations: 4 kB / 0.8814 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.004498, allocations: 23.3 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.004517, allocations: 8 kB / 0.8815 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.004533, allocations: 3.938 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.004642, allocations: 27.95 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004644, allocations: 0 / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004644, allocations: 4 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004648, allocations: 0 / 0.8815 GB, free: 3.875 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.0003623/0.005011, allocations: 364.6 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.005051, allocations: 8.031 kB / 0.8818 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.005292, allocations: 17.47 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.00539, allocations: 113.8 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.005404, allocations: 384 / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.005413, allocations: 4.375 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.005544, allocations: 63.38 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005552, allocations: 1.719 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005561, allocations: 384 / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005568, allocations: 3.938 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005599, allocations: 11.92 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.0059, allocations: 229.5 kB / 0.8823 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.005963, allocations: 35.09 kB / 0.8823 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.005984, allocations: 11.75 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.006002, allocations: 8.562 kB / 0.8823 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.006025, allocations: 37.39 kB / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.006027, allocations: 0 / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.006191, allocations: 49.58 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.006219, allocations: 51.41 kB / 0.8825 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.006281, allocations: 157.9 kB / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006292, allocations: 33.69 kB / 0.8826 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.006334, allocations: 130.9 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.006351, allocations: 7.938 kB / 0.8828 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.006378, allocations: 19.38 kB / 0.8828 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.006482, allocations: 492.1 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.006495, allocations: 12.06 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.006506, allocations: 3.984 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.006533, allocations: 15.69 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006534, allocations: 256 / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.358e-05/0.006588, allocations: 37.7 kB / 0.8833 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.0066, allocations: 8 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.006606, allocations: 7.938 kB / 0.8833 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.006614, allocations: 3.984 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.00668, allocations: 4 kB / 0.8833 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.006683, allocations: 4.094 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.006708, allocations: 4 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.006712, allocations: 3.938 kB / 0.8834 GB, free: 1.766 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: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.006771, allocations: 160.6 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.006787, allocations: 0 / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.006819, allocations: 11.25 kB / 0.8835 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006821, allocations: 0 / 0.8835 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.006822, allocations: 4 kB / 0.8835 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.006825, allocations: 3.984 kB / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.006916, allocations: 105.2 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006917, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.006945, allocations: 4 kB / 0.8836 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006946, allocations: 3.938 kB / 0.8836 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006952, allocations: 4 kB / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006952, allocations: 0 / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.006956, allocations: 3.938 kB / 0.8836 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007064, allocations: 191.9 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.00707, allocations: 3.938 kB / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.00708, allocations: 0 / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.00712, allocations: 12.02 kB / 0.8838 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.007145, allocations: 3.938 kB / 0.8838 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.007149, allocations: 4 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.007185, allocations: 123.2 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007185, allocations: 0 / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001383/0.007323, allocations: 8 kB / 0.884 GB, free: 1.074 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: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.669e-05/0.0074, allocations: 91.25 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.007463, allocations: 19.69 kB / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007464, allocations: 0 / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.007481, allocations: 15.75 kB / 0.8841 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.00766, allocations: 9.359 kB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.00785, allocations: 122.2 kB / 0.8842 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.007877, allocations: 51.36 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.007904, allocations: 8.062 kB / 0.8843 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.007953, allocations: 74.19 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.007953, allocations: 0 / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of Templates: time 0.002063/0.01002, allocations: 0.6766 MB / 0.885 GB, free: 15.96 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.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.449666280765086]