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.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_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.0009036/0.0009036, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00536/0.00536, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.462/2.462, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 8 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5806, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005975/0.5812, allocations: 317.6 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.5818, allocations: 346.9 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-06/0.5818, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.836e-06/0.5819, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-06/0.5819, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.5822, allocations: 79.78 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.605e-05/0.5822, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.5823, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.255e-05/0.5823, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.5823, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.5823, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.5827, allocations: 271.6 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.5827, allocations: 7.984 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.5827, allocations: 29.7 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.5829, allocations: 87.86 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5829, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5829, allocations: 3.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5829, allocations: 0 / 1.024 GB, free: 14.71 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002283/0.5831, allocations: 327.6 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.5832, allocations: 8.031 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.5832, allocations: 34.75 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.5833, allocations: 0.9375 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.5833, allocations: 160.4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.5833, allocations: 8.375 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.5834, allocations: 384 / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.5834, allocations: 34.19 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.5835, allocations: 3.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-06/0.5835, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5835, allocations: 3.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.5835, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.5836, allocations: 145.7 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.396e-05/0.5836, allocations: 22.61 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.5837, allocations: 4.859 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/0.5841, allocations: 425.6 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5841, allocations: 38.48 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5841, allocations: 4 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001138/0.5842, allocations: 37.55 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5843, allocations: 55.41 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.917e-05/0.5843, allocations: 89.86 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5843, allocations: 25.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.5844, allocations: 80.14 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.5844, allocations: 4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.5844, allocations: 9.719 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.5845, allocations: 315 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.5845, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.5845, allocations: 7.984 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.5845, allocations: 8.797 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5846, allocations: 7.938 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.879e-05/0.5846, allocations: 29.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.5846, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5846, allocations: 3.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.5847, allocations: 4.094 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.5847, allocations: 4 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.5847, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.5847, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.5847, allocations: 4 kB / 1.026 GB, free: 12.5 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 5.334e-05/0.5848, allocations: 114.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.5848, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.5849, allocations: 44.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5849, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5849, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.5849, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.585, allocations: 155.9 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.585, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.585, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.585, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.585, allocations: 7.938 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.585, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.585, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.083e-05/0.5851, allocations: 61.09 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.5851, allocations: 85.03 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.5852, allocations: 7.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.5852, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-06/0.5852, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5852, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.5852, allocations: 79.28 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5852, allocations: 32 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001871/0.5854, allocations: 20 kB / 1.027 GB, free: 11.83 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.000328/0.5858, allocations: 0.6085 MB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.692e-05/0.5858, allocations: 7.938 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5858, allocations: 96 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.5858, allocations: 8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.586, allocations: 3.938 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.5862, allocations: 112.3 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.5864, allocations: 0.6692 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.403e-05/0.5864, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.5864, allocations: 11.44 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5864, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00984/0.5963, allocations: 0.999 MB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.5965, allocations: 212.1 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.215, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y