Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.007078/0.007078, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001928/0.001928, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 72.08 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2696, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00164/0.2713, allocations: 0.5835 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000635/0.2719, allocations: 328.6 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.2719, allocations: 3.938 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.272, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.272, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2724, allocations: 107.7 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.728e-05/0.2725, allocations: 8 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.2725, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.2725, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.946e-05/0.2726, allocations: 3.984 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.2726, allocations: 0 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.273, allocations: 275.6 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.273, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.273, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2732, allocations: 79.8 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2732, allocations: 8 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.839e-06/0.2733, allocations: 0 / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2733, allocations: 7.875 kB / 1.222 GB, free: 12.86 MB / 0.9825 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.0003109/0.2736, allocations: 336.8 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2736, allocations: 12.03 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.2737, allocations: 34.75 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.2737, allocations: 0.9375 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2738, allocations: 164.4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.2738, allocations: 384 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-06/0.2738, allocations: 4.375 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.282e-05/0.2739, allocations: 30.27 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2739, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.274, allocations: 7.984 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.274, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.274, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.2741, allocations: 149.6 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.52e-05/0.2742, allocations: 18.56 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.2742, allocations: 12.95 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/0.2747, allocations: 421.5 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2747, allocations: 34.56 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2748, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.2749, allocations: 45.58 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2749, allocations: 51.41 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.275, allocations: 89.86 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.275, allocations: 25.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.275, allocations: 80.14 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2751, allocations: 11.92 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2751, allocations: 13.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2752, allocations: 310.8 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.2753, allocations: 12.06 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-06/0.2753, allocations: 4 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.2753, allocations: 4.859 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2753, allocations: 4 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.043e-05/0.2754, allocations: 37.58 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2754, allocations: 5.719 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2754, allocations: 7.922 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2754, allocations: 4 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.2755, allocations: 4.094 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2755, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.2755, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.2755, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 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 7.658e-05/0.2756, allocations: 113.8 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2756, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.2757, allocations: 44.75 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2757, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2757, allocations: 4.031 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2757, allocations: 3.938 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2758, allocations: 145.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2758, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.2758, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2759, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2759, allocations: 11.92 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2759, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2759, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.276, allocations: 57.14 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.276, allocations: 81.11 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.276, allocations: 3.938 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-06/0.276, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-06/0.2761, allocations: 3.984 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.2761, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.2761, allocations: 75.28 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2761, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001917/0.2763, allocations: 12 kB / 1.224 GB, free: 9.984 MB / 0.9825 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.0004375/0.2767, allocations: 0.6129 MB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.751e-05/0.2768, allocations: 8 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2768, allocations: 0 / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.2768, allocations: 8.031 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.277, allocations: 4.062 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.2772, allocations: 126.2 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2775, allocations: 0.669 MB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.2775, allocations: 4 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.2775, allocations: 7.438 kB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2776, allocations: 0 / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.2974, allocations: 1.19 MB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.761, allocations: 3.938 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches