Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 175.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009391/0.0009394, allocations: 90.09 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.462e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.169, allocations: 132.5 MB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.169, allocations: 73.95 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0128/1.182, allocations: 4.298 MB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/1.182, allocations: 3.938 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.182, allocations: 4 kB / 1.019 GB, free: 1.637 MB / 0.6355 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.0006092/1.183, allocations: 362.3 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/1.183, allocations: 12.03 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/1.183, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/1.183, allocations: 175 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/1.183, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/1.183, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/1.183, allocations: 23.44 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/1.183, allocations: 33.52 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.183, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.183, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.183, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/1.184, allocations: 252.7 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/1.184, allocations: 30.27 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/1.184, allocations: 8.922 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/1.185, allocations: 465.3 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.185, allocations: 34.56 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.185, allocations: 0 / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002817/1.185, allocations: 41.44 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.185, allocations: 51.41 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.185, allocations: 96.94 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.185, allocations: 29.73 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/1.185, allocations: 80.14 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/1.185, allocations: 11.89 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.185, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.186, allocations: 318.4 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/1.186, allocations: 4 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/1.186, allocations: 3.938 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/1.186, allocations: 4 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.186, allocations: 0 / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/1.186, allocations: 49.39 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.186, allocations: 7.984 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.186, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.186, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.186, allocations: 8 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.186, allocations: 0 / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/1.186, allocations: 7.984 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.186, allocations: 8.031 kB / 1.021 GB, free: 15.32 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.186, allocations: 108.8 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/1.186, allocations: 3.906 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/1.186, allocations: 57.36 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.187, allocations: 7.875 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.187, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.187, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/1.187, allocations: 142 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.187, allocations: 8.203 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/1.187, allocations: 20.02 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.187, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.187, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.187, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.187, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.187, allocations: 135.2 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/1.187, allocations: 92.98 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.187, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/1.187, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/1.187, allocations: 3.984 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/1.187, allocations: 7.984 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.531e-05/1.187, allocations: 83.09 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.653e-06/1.187, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002575/1.188, allocations: 19.94 kB / 1.022 GB, free: 14.57 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/1.188, allocations: 119.2 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/1.188, allocations: 11.69 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.188, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/1.188, allocations: 8 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.188, allocations: 3.938 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/1.188, allocations: 59.94 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/1.189, allocations: 0.6769 MB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.588e-05/1.189, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/1.189, allocations: 11.44 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.189, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of Templates: time 0.002709/1.192, allocations: 0.5869 MB / 1.023 GB, free: 13.05 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches