Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 112.5 kB / 15.73 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.002427/0.002427, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.78 kB / 0.9504 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 140.4 MB / 1.088 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0018/0.2806, allocations: 0.592 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.2813, allocations: 335.2 kB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.2813, allocations: 8 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2813, allocations: 0 / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.508e-05/0.2814, allocations: 3.938 kB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.2819, allocations: 112.9 kB / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.282, allocations: 11.98 kB / 1.089 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.282, allocations: 4 kB / 1.089 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.282, allocations: 0 / 1.089 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.2821, allocations: 11.92 kB / 1.089 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2821, allocations: 4 kB / 1.089 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.2825, allocations: 271.7 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2825, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.2826, allocations: 7.984 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2827, allocations: 103.9 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2828, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2828, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2828, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003609/0.2831, allocations: 335.3 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2832, allocations: 8.031 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.2832, allocations: 42.69 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.2833, allocations: 4.938 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2834, allocations: 168.3 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2834, allocations: 384 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2835, allocations: 4.422 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.2836, allocations: 30.27 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.2836, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2836, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2836, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.2836, allocations: 11.92 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2838, allocations: 145.7 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.2838, allocations: 30.53 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.2839, allocations: 8.922 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007138/0.2846, allocations: 461.4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2846, allocations: 38.55 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2846, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000523/0.2851, allocations: 254.5 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2852, allocations: 51.41 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.2852, allocations: 97.86 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2853, allocations: 25.7 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.2853, allocations: 80.14 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2853, allocations: 15.89 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2854, allocations: 21.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.2855, allocations: 311 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.2855, allocations: 12 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.2855, allocations: 21.64 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.2856, allocations: 21.72 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2856, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.2857, allocations: 53.62 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2857, allocations: 13.72 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2857, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2858, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.2858, allocations: 11.94 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.2858, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.2859, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2859, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.876e-05/0.2859, allocations: 105.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.286, allocations: 7.891 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.2861, allocations: 65.11 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2861, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2861, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2862, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2863, allocations: 149.7 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2863, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.2863, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2864, allocations: 3.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2864, allocations: 7.938 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2864, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2864, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2865, allocations: 85.16 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2866, allocations: 81.05 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2866, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.2866, allocations: 4.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.2867, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.2867, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.2867, allocations: 87.33 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2867, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002254/0.2869, allocations: 23.94 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004713/0.2874, allocations: 0.6364 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.984e-05/0.2875, allocations: 24.08 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2875, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.2875, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2877, allocations: 5.125 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.2886, allocations: 1.127 MB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2889, allocations: 0.6768 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.2889, allocations: 8 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2889, allocations: 7.438 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2889, allocations: 3.938 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3089, allocations: 1.738 MB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.843, allocations: 15.61 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches