Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009914/0.009914, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002016/0.002016, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.649/2.649, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 62.8 kB / 0.9508 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3306, allocations: 140.4 MB / 1.088 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002628/0.3333, allocations: 1.43 MB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.3341, allocations: 375.6 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.3341, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.3342, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.3342, allocations: 11.91 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.3347, allocations: 115.6 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.3348, allocations: 27.86 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.3349, allocations: 8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3349, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.335, allocations: 15.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.335, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.3354, allocations: 275.6 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3354, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.3354, allocations: 7.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3357, allocations: 119.6 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3357, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3357, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3357, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 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.0005393/0.3363, allocations: 367.1 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3363, allocations: 8.031 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.3364, allocations: 4.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3365, allocations: 168.3 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3365, allocations: 4.375 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3366, allocations: 4.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3368, allocations: 50.23 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3368, allocations: 192 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3368, allocations: 7.875 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3368, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.337, allocations: 39.89 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3373, allocations: 253 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3375, allocations: 42.48 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.3376, allocations: 20.91 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.3383, allocations: 465.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3383, allocations: 34.56 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3383, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.3387, allocations: 89.58 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3388, allocations: 51.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.3389, allocations: 101.9 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3389, allocations: 25.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.3389, allocations: 93.5 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.339, allocations: 7.953 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.339, allocations: 9.719 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3391, allocations: 323 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.3392, allocations: 11.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.3393, allocations: 19.97 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3395, allocations: 40.77 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3395, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.3397, allocations: 73.66 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3397, allocations: 11.94 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3397, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3397, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.3398, allocations: 7.984 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3398, allocations: 7.984 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.3399, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3399, allocations: 4 kB / 1.093 GB, free: 12.57 MB / 0.8575 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 7.681e-05/0.34, allocations: 121.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.34, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3403, allocations: 73.12 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3403, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3403, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3403, allocations: 3.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3405, allocations: 165.6 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3405, allocations: 4.031 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.3405, allocations: 8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3405, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3406, allocations: 3.984 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3406, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3406, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3408, allocations: 175.6 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.3409, allocations: 85.05 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3409, allocations: 4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.341, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.341, allocations: 3.984 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.341, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.3411, allocations: 87.28 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3411, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002394/0.3413, allocations: 12 kB / 1.093 GB, free: 11.72 MB / 0.8575 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.0001861/0.3415, allocations: 115.7 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3418, allocations: 35.97 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3418, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3419, allocations: 23.91 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3422, allocations: 9.344 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.3425, allocations: 117.7 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3428, allocations: 0.6806 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.3428, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.3429, allocations: 7.438 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3429, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.003174/0.346, allocations: 0.7183 MB / 1.095 GB, free: 9.965 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches