Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_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.001061/0.001061, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005274, allocations: 8 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8189, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001827/0.8208, allocations: 1.168 MB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.8217, allocations: 407.6 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.8217, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.8217, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.8218, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.8222, allocations: 80.84 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.04e-05/0.8222, allocations: 27.92 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.8223, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.8224, allocations: 11.92 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.8224, allocations: 11.92 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8225, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.8229, allocations: 271.6 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.8229, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.823, allocations: 37.62 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.8232, allocations: 75.88 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8232, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8232, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8232, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.7794 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.0005063/0.8237, allocations: 359 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8237, allocations: 8.031 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.8238, allocations: 8.844 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.824, allocations: 172.2 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.824, allocations: 8.375 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.824, allocations: 4.375 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.8242, allocations: 54.23 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8242, allocations: 4.172 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.8242, allocations: 7.875 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8242, allocations: 3.938 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.8244, allocations: 43.97 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.8248, allocations: 249 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.825, allocations: 50.44 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.8251, allocations: 28.91 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.8258, allocations: 465.5 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.8259, allocations: 34.56 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8259, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.8263, allocations: 105.5 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.8263, allocations: 55.41 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.8264, allocations: 105.8 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.8264, allocations: 25.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.8265, allocations: 84.27 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.8265, allocations: 3.906 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.8265, allocations: 13.72 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8267, allocations: 318.8 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.8268, allocations: 19.98 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.8269, allocations: 23.98 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.827, allocations: 48.81 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.827, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002271/0.8273, allocations: 89.61 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8273, allocations: 4 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8273, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.8273, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.8274, allocations: 11.98 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.8274, allocations: 8.031 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.8275, allocations: 8.234 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.8275, allocations: 4 kB / 1.028 GB, free: 11.1 MB / 0.7794 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.766e-05/0.8276, allocations: 113.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.8276, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.8279, allocations: 85.19 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.8279, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8279, allocations: 3.938 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8279, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.8281, allocations: 169.5 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8281, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.8282, allocations: 16.02 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8282, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.8282, allocations: 8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8282, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8282, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.8285, allocations: 183.3 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.8285, allocations: 77.11 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.8285, allocations: 0 / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.8286, allocations: 11.98 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.8287, allocations: 4 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.8287, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.8287, allocations: 87.3 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.563e-06/0.8287, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002353/0.829, allocations: 23.88 kB / 1.029 GB, free: 10.23 MB / 0.7794 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.0002036/0.8292, allocations: 115.2 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.8294, allocations: 51.95 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8294, allocations: 0 / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.8295, allocations: 23.98 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.8298, allocations: 3.938 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.8302, allocations: 142.5 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.8305, allocations: 0.677 MB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.8305, allocations: 11.38 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of SimCode: time 1.794e-06/0.8305, allocations: 0 / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of Templates: time 0.002269/0.8328, allocations: 0.7144 MB / 1.03 GB, free: 8.434 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches