Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_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.001327/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001338/0.001338, allocations: 196.1 kB / 16.14 MB, free: 6.641 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 75.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6992, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00197/0.7012, allocations: 0.6605 MB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.702, allocations: 354.8 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.046e-05/0.702, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.7021, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.646e-05/0.7021, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.7025, allocations: 75.84 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.467e-05/0.7025, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.7026, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.7026, allocations: 4 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.7026, allocations: 3.938 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.7026, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.703, allocations: 271.6 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.7031, allocations: 4 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.7031, allocations: 3.984 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.7033, allocations: 91.86 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7033, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.867e-06/0.7033, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7033, allocations: 3.938 kB / 1.018 GB, free: 1.34 MB / 0.7637 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.0004054/0.7037, allocations: 327.6 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7038, allocations: 8.031 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.7038, allocations: 8.844 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.704, allocations: 160.4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.704, allocations: 4.359 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.704, allocations: 4.375 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.7041, allocations: 34.2 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7042, allocations: 192 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7042, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7042, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.7042, allocations: 3.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.7044, allocations: 141.7 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.7044, allocations: 18.61 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.7045, allocations: 12.84 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.7051, allocations: 425.6 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.7051, allocations: 30.56 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7051, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001875/0.7053, allocations: 49.58 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.7054, allocations: 51.41 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.7054, allocations: 89.86 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.7054, allocations: 25.7 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.7055, allocations: 80.14 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.7055, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.7056, allocations: 17.7 kB / 1.019 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7057, allocations: 314.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.7057, allocations: 8.125 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.7057, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.7058, allocations: 8.859 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7058, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.059e-05/0.7059, allocations: 37.64 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7059, allocations: 9.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.7059, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7059, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.706, allocations: 8.078 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.706, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.706, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.706, allocations: 0 / 1.02 GB, free: 15.16 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 (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 8.62e-05/0.7061, allocations: 106.4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.7061, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.7062, allocations: 48.69 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7062, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7062, allocations: 4.031 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7062, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.7063, allocations: 141.7 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7064, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.7064, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.7064, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.7064, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7064, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7064, allocations: 3.984 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.3e-05/0.7065, allocations: 61.14 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.7066, allocations: 77.11 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.7066, allocations: 3.938 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-06/0.7066, allocations: 3.984 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.7066, allocations: 7.984 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.7066, allocations: 0 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.7067, allocations: 79.22 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7067, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002008/0.7069, allocations: 13.97 kB / 1.02 GB, free: 14.51 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 (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.0002098/0.7071, allocations: 115.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.7072, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7072, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.7072, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.7073, allocations: 1.719 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.7075, allocations: 78.61 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.7078, allocations: 0.6772 MB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.7078, allocations: 7.969 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.7079, allocations: 7.438 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.7079, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002887/0.7108, allocations: 458.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches