Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.00117/0.00117, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001154/0.001154, allocations: 169 kB / 23.27 MB, free: 1.227 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 1.165/1.165, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.823/2.823, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.141e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00195/0.001972, allocations: 1.498 MB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.002572, allocations: 358.8 kB / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.002623, allocations: 0 / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.002653, allocations: 0 / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.002706, allocations: 3.938 kB / 0.8916 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.003091, allocations: 119.5 kB / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.003156, allocations: 23.92 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.003253, allocations: 8 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.003321, allocations: 11.98 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.003362, allocations: 8 kB / 0.8917 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.00338, allocations: 4 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.003717, allocations: 259.6 kB / 0.892 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.003734, allocations: 7.938 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.003751, allocations: 4 kB / 0.892 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.003948, allocations: 131.6 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00395, allocations: 3.938 kB / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003951, allocations: 0 / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003955, allocations: 0 / 0.8921 GB, free: 7.34 MB / 0.8542 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.0003886/0.004344, allocations: 396.3 kB / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.004389, allocations: 8.625 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.004461, allocations: 4.938 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.004555, allocations: 120.6 kB / 0.8926 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004566, allocations: 384 / 0.8926 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.004574, allocations: 4.375 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.004681, allocations: 50.95 kB / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004688, allocations: 192 / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.004694, allocations: 384 / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004699, allocations: 384 / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.004723, allocations: 15.88 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.004963, allocations: 232.5 kB / 0.8929 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.005016, allocations: 31.06 kB / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.005031, allocations: 11.75 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.00531, allocations: 79.91 kB / 0.893 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.005334, allocations: 33.39 kB / 0.8931 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.005336, allocations: 3.938 kB / 0.8931 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.005493, allocations: 45.62 kB / 0.8931 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.005536, allocations: 55.41 kB / 0.8932 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.00561, allocations: 161.9 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005621, allocations: 25.7 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.005674, allocations: 130.9 kB / 0.8935 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.005693, allocations: 7.953 kB / 0.8935 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.005722, allocations: 23.5 kB / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.005889, allocations: 0.4884 MB / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.005899, allocations: 0 / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-06/0.005909, allocations: 4 kB / 0.894 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.005935, allocations: 15.62 kB / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005937, allocations: 3.938 kB / 0.894 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.387e-05/0.006, allocations: 41.66 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.006016, allocations: 8 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006021, allocations: 0 / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.006038, allocations: 8.031 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.006093, allocations: 7.984 kB / 0.8941 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.006095, allocations: 0 / 0.8941 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.006114, allocations: 7.938 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.006118, allocations: 0 / 0.8941 GB, free: 5.141 MB / 0.8542 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 6.99e-05/0.006187, allocations: 152.6 kB / 0.8942 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.006208, allocations: 4 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.006289, allocations: 49.25 kB / 0.8943 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006291, allocations: 3.938 kB / 0.8943 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.006295, allocations: 3.984 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006298, allocations: 4.031 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.006396, allocations: 97.25 kB / 0.8944 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006398, allocations: 3.984 kB / 0.8944 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.006424, allocations: 11.98 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006426, allocations: 256 / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.006431, allocations: 0 / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.006434, allocations: 4 kB / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006434, allocations: 0 / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.006604, allocations: 195.8 kB / 0.8946 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.00661, allocations: 3.984 kB / 0.8946 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.006618, allocations: 4.031 kB / 0.8946 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.827e-05/0.006646, allocations: 4 kB / 0.8946 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.00668, allocations: 0 / 0.8946 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.006685, allocations: 7.938 kB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.006726, allocations: 127.2 kB / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006726, allocations: 0 / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001479/0.006874, allocations: 16 kB / 0.8947 GB, free: 4.395 MB / 0.8542 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 0.0001381/0.007012, allocations: 111.2 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.416e-05/0.007076, allocations: 15.69 kB / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007077, allocations: 0 / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.007094, allocations: 15.62 kB / 0.8949 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.007266, allocations: 11.88 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.007485, allocations: 126.2 kB / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.007522, allocations: 59.28 kB / 0.895 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.007538, allocations: 4 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.007581, allocations: 70.33 kB / 0.8951 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.007582, allocations: 4 kB / 0.8951 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.002434/0.01002, allocations: 0.8441 MB / 0.8959 GB, free: 3.078 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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: 6.233808532357216]