Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001157/0.001157, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001362/0.001362, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8799/0.8799, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.979e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001287/0.001317, allocations: 0.5838 MB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000508/0.001825, allocations: 286.9 kB / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.001843, allocations: 4 kB / 0.9526 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.001858, allocations: 0 / 0.9526 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.001866, allocations: 0 / 0.9526 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.00229, allocations: 112.4 kB / 0.9527 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.002336, allocations: 3.938 kB / 0.9527 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.00238, allocations: 4 kB / 0.9527 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.002405, allocations: 0 / 0.9527 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.002435, allocations: 3.984 kB / 0.9528 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.002447, allocations: 4 kB / 0.9528 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.002737, allocations: 255.6 kB / 0.953 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.00275, allocations: 4 kB / 0.953 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.002766, allocations: 0 / 0.953 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.002947, allocations: 111.7 kB / 0.9531 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002949, allocations: 0 / 0.9531 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.00295, allocations: 0 / 0.9531 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.002956, allocations: 0 / 0.9531 GB, free: 1.559 MB / 0.9011 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.0002747/0.003231, allocations: 266.2 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.003271, allocations: 12.03 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.003331, allocations: 4.922 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.003396, allocations: 105.8 kB / 0.9535 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.00341, allocations: 4.312 kB / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.003418, allocations: 384 / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.003508, allocations: 30.27 kB / 0.9535 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.003516, allocations: 192 / 0.9535 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003525, allocations: 384 / 0.9535 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00353, allocations: 384 / 0.9535 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.003553, allocations: 11.88 kB / 0.9535 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.003658, allocations: 101.3 kB / 0.9536 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.003697, allocations: 22.59 kB / 0.9536 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.003713, allocations: 12.8 kB / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.004021, allocations: 40.03 kB / 0.9537 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.004045, allocations: 30.56 kB / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.004046, allocations: 0 / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.0042, allocations: 37.64 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.004233, allocations: 55.41 kB / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.828e-05/0.004261, allocations: 97.98 kB / 0.9539 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004272, allocations: 25.7 kB / 0.9539 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.004291, allocations: 80.14 kB / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.004321, allocations: 0 / 0.954 GB, free: 500 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.004347, allocations: 13.72 kB / 0.954 GB, free: 480 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.004421, allocations: 314.8 kB / 0.9543 GB, free: 156 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.004438, allocations: 3.938 kB / 0.9543 GB, free: 152 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.004444, allocations: 0 / 0.9543 GB, free: 152 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.00447, allocations: 12.86 kB / 0.9543 GB, free: 136 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004473, allocations: 64 / 0.9543 GB, free: 136 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.373e-05/0.004527, allocations: 41.69 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.004539, allocations: 7.938 kB / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.004545, allocations: 0 / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.004559, allocations: 0 / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.004607, allocations: 4 kB / 0.9544 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.004613, allocations: 0 / 0.9544 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-06/0.004622, allocations: 3.938 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.004627, allocations: 0 / 0.9544 GB, free: 72 kB / 0.9011 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 6.357e-05/0.004691, allocations: 109.8 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.004707, allocations: 8.031 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/0.004787, allocations: 44.67 kB / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.004789, allocations: 0 / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.004793, allocations: 0 / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004796, allocations: 0 / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.335e-05/0.004849, allocations: 101.3 kB / 0.9546 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.00485, allocations: 3.938 kB / 0.9546 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.004861, allocations: 3.984 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.004863, allocations: 0 / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.004869, allocations: 0 / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00487, allocations: 4.031 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004871, allocations: 4 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.005015, allocations: 57.02 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-06/0.005021, allocations: 8 kB / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005031, allocations: 3.984 kB / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-06/0.005035, allocations: 0 / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.005047, allocations: 0 / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.00505, allocations: 4 kB / 0.9547 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.00507, allocations: 79.28 kB / 0.9548 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00507, allocations: 0 / 0.9548 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001334/0.005203, allocations: 11.97 kB / 0.9548 GB, free: 15.57 MB / 0.9167 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.0001531/0.005356, allocations: 115.2 kB / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.005417, allocations: 4 kB / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005419, allocations: 0 / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.005424, allocations: 7.938 kB / 0.9549 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.591e-05/0.00552, allocations: 0 / 0.9549 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.005703, allocations: 111.2 kB / 0.955 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.005737, allocations: 59.34 kB / 0.9551 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.005751, allocations: 8.625 kB / 0.9551 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.005752, allocations: 4 kB / 0.9551 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of Templates: time 0.001459/0.007211, allocations: 479.6 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",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.392689583823085]