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: "" <> 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.001186/0.001186, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001402/0.001402, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.41/2.41, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7786, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001816/0.7804, allocations: 0.6474 MB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000617/0.7811, allocations: 334.8 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.7811, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.7811, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.7811, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.7816, allocations: 91.11 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.7816, allocations: 7.984 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.7816, allocations: 3.984 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.7817, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.836e-05/0.7817, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.7817, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.7821, allocations: 271.7 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.7821, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.7821, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.7823, allocations: 91.8 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7823, allocations: 0 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7823, allocations: 0 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7823, allocations: 4 kB / 1.018 GB, free: 1.254 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.0003035/0.7826, allocations: 335.6 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7826, allocations: 8.031 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.7827, allocations: 34.73 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.7827, allocations: 0.9375 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.7828, allocations: 164.4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.7829, allocations: 8.312 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.7829, allocations: 384 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.783, allocations: 26.27 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.783, allocations: 3.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.783, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.783, allocations: 7.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.783, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.7832, allocations: 149.7 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.7832, allocations: 22.55 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.7832, allocations: 4.859 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004909/0.7837, allocations: 429.6 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.7838, allocations: 34.56 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.7838, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.7839, allocations: 41.53 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.7839, allocations: 55.41 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.612e-05/0.784, allocations: 89.86 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.784, allocations: 29.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.784, allocations: 84.27 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.7841, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7841, allocations: 9.719 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7842, allocations: 318.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.7842, allocations: 3.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.7842, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.7843, allocations: 8.859 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7843, allocations: 4.062 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.191e-05/0.7843, allocations: 37.69 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7844, allocations: 8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7844, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7844, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.7844, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7844, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.7845, allocations: 14.19 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.7845, allocations: 0 / 1.02 GB, free: 15.03 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 6.631e-05/0.7845, allocations: 110.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.7846, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.7846, allocations: 48.75 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7847, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7847, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7847, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.807e-05/0.7848, allocations: 145.7 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7848, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.7848, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.7848, allocations: 4.031 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.7848, allocations: 3.938 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7848, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7848, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.7849, allocations: 61.08 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.7849, allocations: 85.03 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.7849, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.7849, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.785, allocations: 8.016 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.785, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.785, allocations: 75.28 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.785, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001948/0.7852, allocations: 12 kB / 1.021 GB, free: 14.37 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.000374/0.7856, allocations: 0.6124 MB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.7857, allocations: 3.938 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7857, allocations: 4 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.7857, allocations: 3.984 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.7858, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.7861, allocations: 106.6 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.7863, allocations: 0.6769 MB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.7863, allocations: 7.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.7864, allocations: 7.438 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7864, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.7969, allocations: 1.083 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.7971, allocations: 217 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.417, allocations: 0 / 1.023 GB, free: 11.63 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