Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001088/0.001088, allocations: 106 kB / 16.36 MB, free: 6.285 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.001083/0.001083, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.47 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2627, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001755/0.2645, allocations: 0.582 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.2651, allocations: 326.8 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.2651, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.2651, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.2652, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.2656, allocations: 107.5 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.2656, allocations: 11.92 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.2657, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.2657, allocations: 7.984 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.2657, allocations: 0 / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.2657, allocations: 0 / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.2661, allocations: 271.7 kB / 0.9524 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.2661, allocations: 4 kB / 0.9524 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.2661, allocations: 4 kB / 0.9524 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2663, allocations: 87.84 kB / 0.9525 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2663, allocations: 0 / 0.9525 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2663, allocations: 0 / 0.9525 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2663, allocations: 3.938 kB / 0.9525 GB, free: 6.664 MB / 0.7325 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.000278/0.2666, allocations: 327.6 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2667, allocations: 8.031 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.2667, allocations: 4.938 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.2668, allocations: 160.4 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.2668, allocations: 384 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.2668, allocations: 12.3 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.179e-05/0.2669, allocations: 28.38 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.2669, allocations: 192 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2669, allocations: 7.938 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.267, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.267, allocations: 4 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.2671, allocations: 149.6 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.2672, allocations: 26.55 kB / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.2672, allocations: 4.859 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.2677, allocations: 425.6 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2677, allocations: 30.56 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2677, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.2678, allocations: 57.47 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2679, allocations: 51.41 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.447e-05/0.2679, allocations: 89.86 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2679, allocations: 25.7 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.268, allocations: 84.12 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.268, allocations: 0 / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.268, allocations: 13.72 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2681, allocations: 310.8 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.2681, allocations: 4.125 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.2682, allocations: 4 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.2682, allocations: 12.86 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2682, allocations: 0 / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.645e-05/0.2683, allocations: 41.62 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2683, allocations: 6.188 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2683, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2683, allocations: 3.938 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.2683, allocations: 8.094 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2684, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.2684, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2684, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 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 5.933e-05/0.2684, allocations: 105.8 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.2685, allocations: 0 / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.2686, allocations: 52.69 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2686, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2686, allocations: 4.031 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2686, allocations: 0 / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.27e-05/0.2687, allocations: 145.7 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2687, allocations: 0 / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.2687, allocations: 7.938 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2687, allocations: 0 / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2687, allocations: 3.938 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2687, allocations: 0 / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2687, allocations: 0 / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.857e-05/0.2688, allocations: 65.12 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.2688, allocations: 77.11 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.2689, allocations: 3.938 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.2689, allocations: 3.938 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.2689, allocations: 4 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.2689, allocations: 0 / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.2689, allocations: 75.28 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2689, allocations: 0 / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001922/0.2691, allocations: 12 kB / 0.9548 GB, free: 3.836 MB / 0.7325 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.0001479/0.2693, allocations: 115.3 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.2693, allocations: 11.94 kB / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2694, allocations: 0 / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.2694, allocations: 0 / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2695, allocations: 10 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.2697, allocations: 76.98 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2699, allocations: 0.6806 MB / 0.9557 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.57e-05/0.2699, allocations: 4 kB / 0.9557 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.2699, allocations: 7.438 kB / 0.9557 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.2699, allocations: 0 / 0.9557 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of Templates: time 0.002183/0.2721, allocations: 464.3 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches