Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001499/0.001499, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001821/0.001821, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 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.9991/0.9991, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.137/2.137, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.955e-05, allocations: 7.516 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001637/0.001667, allocations: 0.6128 MB / 0.8788 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.002296, allocations: 304.1 kB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.002314, allocations: 0.75 kB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.002334, allocations: 0 / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.00234, allocations: 1.125 kB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.002815, allocations: 108.4 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.449e-05/0.002859, allocations: 1.625 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.002901, allocations: 8 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.002925, allocations: 4 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.002947, allocations: 0 / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.00296, allocations: 0 / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.003354, allocations: 256.8 kB / 0.8795 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.003368, allocations: 3.984 kB / 0.8795 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.003384, allocations: 0 / 0.8795 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.003586, allocations: 112.8 kB / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003589, allocations: 3.984 kB / 0.8796 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00359, allocations: 0 / 0.8796 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.003595, allocations: 0.6562 kB / 0.8796 GB, free: 4.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002991/0.003894, allocations: 360.1 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.003938, allocations: 12.81 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.004026, allocations: 4.875 kB / 0.8799 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.97e-05/0.004095, allocations: 109.9 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.004106, allocations: 384 / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.004119, allocations: 4.375 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.004201, allocations: 27.3 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.004211, allocations: 192 / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004219, allocations: 384 / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.004227, allocations: 1.5 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.004245, allocations: 7.938 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.004358, allocations: 109.7 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.0044, allocations: 31.03 kB / 0.8802 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.004418, allocations: 11.69 kB / 0.8802 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.004744, allocations: 55.02 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.004769, allocations: 33.39 kB / 0.8803 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.00477, allocations: 0 / 0.8803 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.004924, allocations: 35.58 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.004959, allocations: 59.33 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.482e-05/0.005004, allocations: 142.2 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005014, allocations: 25.7 kB / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.005047, allocations: 127.5 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.005075, allocations: 3.953 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.005107, allocations: 25.03 kB / 0.8807 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.005234, allocations: 496.1 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-06/0.005243, allocations: 0 / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.005251, allocations: 4 kB / 0.8812 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.005284, allocations: 12.59 kB / 0.8812 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005286, allocations: 0 / 0.8812 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.884e-05/0.005365, allocations: 38.31 kB / 0.8812 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005378, allocations: 9.531 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005383, allocations: 0 / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.005398, allocations: 0 / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.005444, allocations: 7.938 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.005449, allocations: 224 / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.005461, allocations: 7.938 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.005465, allocations: 0 / 0.8813 GB, free: 2.98 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 (1): * Single equations (assignments): 1 * 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 7.444e-05/0.00554, allocations: 160.6 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.005559, allocations: 0 / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.651e-05/0.005645, allocations: 36.69 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005647, allocations: 0 / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.005653, allocations: 7.984 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005655, allocations: 0 / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.705e-05/0.005722, allocations: 108.6 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.005724, allocations: 4.031 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.005735, allocations: 0 / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.005738, allocations: 7.984 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.005743, allocations: 0 / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005744, allocations: 3.938 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005746, allocations: 0 / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.005823, allocations: 72.39 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-06/0.005827, allocations: 0 / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.005836, allocations: 0 / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.005845, allocations: 3.984 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.005858, allocations: 8.031 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.00586, allocations: 0 / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.005893, allocations: 119.2 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005893, allocations: 0 / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002169/0.006109, allocations: 11.94 kB / 0.8818 GB, free: 2.371 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 (1): * Single equations (assignments): 1 * 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 0.000155/0.006264, allocations: 115.2 kB / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.006338, allocations: 15.61 kB / 0.8819 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.00634, allocations: 4 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-06/0.00635, allocations: 11.75 kB / 0.8819 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.006487, allocations: 0 / 0.8819 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.006673, allocations: 83.95 kB / 0.882 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.006706, allocations: 51.36 kB / 0.8821 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.006727, allocations: 7.984 kB / 0.8821 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.006745, allocations: 8.5 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of SimCode: time 1.878e-05/0.006764, allocations: 3.938 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of Templates: time 0.002489/0.009253, allocations: 0.4925 MB / 0.8826 GB, free: 1.516 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.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.494230451993644]