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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.218/2.218, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001156, allocations: 67.34 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001551/0.2582, allocations: 0.586 MB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000565/0.2588, allocations: 333.3 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.2588, allocations: 3.938 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.2588, allocations: 0 / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.2588, allocations: 0 / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.2593, allocations: 111.5 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.437e-05/0.2593, allocations: 4 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.2594, allocations: 0 / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.2594, allocations: 0 / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.846e-05/0.2594, allocations: 4 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2594, allocations: 3.984 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.2598, allocations: 279.6 kB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.2598, allocations: 0 / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.2598, allocations: 0 / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.26, allocations: 87.8 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.26, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.26, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.26, allocations: 4 kB / 1.028 GB, free: 0.6445 MB / 0.795 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.0002826/0.2603, allocations: 331.6 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2603, allocations: 8.031 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2604, allocations: 4.938 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.226e-05/0.2605, allocations: 164.4 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.2605, allocations: 384 / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.2605, allocations: 4.312 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.2606, allocations: 30.27 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.2606, allocations: 4.188 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2606, allocations: 7.922 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2606, allocations: 0 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.2606, allocations: 0 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.2607, allocations: 141.7 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.928e-05/0.2608, allocations: 22.61 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.2608, allocations: 8.797 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.2612, allocations: 429.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2613, allocations: 30.56 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2613, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.2614, allocations: 41.62 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2614, allocations: 51.41 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.2615, allocations: 93.98 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2615, allocations: 25.7 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.2615, allocations: 80.14 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2616, allocations: 0 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.2616, allocations: 21.66 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2617, allocations: 310.8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-06/0.2617, allocations: 3.938 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.2617, allocations: 4 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.2617, allocations: 16.91 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2617, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.771e-05/0.2618, allocations: 37.64 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2618, allocations: 6.812 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2618, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2619, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.375e-05/0.2619, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2619, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.2619, allocations: 3.984 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2619, allocations: 4.031 kB / 1.03 GB, free: 14.47 MB / 0.8106 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.173e-05/0.262, allocations: 121.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.262, allocations: 4 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.2621, allocations: 36.77 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2621, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2621, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.2621, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.2622, allocations: 149.7 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2622, allocations: 8.031 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.2622, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2622, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2622, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2622, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2622, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.2623, allocations: 61.06 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2624, allocations: 81.05 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2624, allocations: 7.969 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.2624, allocations: 8 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-06/0.2624, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.2624, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.2624, allocations: 75.28 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2624, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001753/0.2626, allocations: 8 kB / 1.03 GB, free: 13.81 MB / 0.8106 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.0001436/0.2628, allocations: 123.2 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.913e-05/0.2628, allocations: 8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2628, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.2629, allocations: 7.938 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.263, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.2631, allocations: 83.78 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2634, allocations: 0.6729 MB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.2634, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.2634, allocations: 11.56 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2634, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of Templates: time 0.002059/0.2655, allocations: 460.3 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches