Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.005126/0.005126, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001347/0.001347, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.607/2.607, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 80.09 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2717, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001475/0.2732, allocations: 0.6205 MB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006049/0.2739, allocations: 344.6 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.2739, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.2739, allocations: 3.938 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.274, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.2744, allocations: 131.1 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.2744, allocations: 15.98 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.2745, allocations: 7.984 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.2745, allocations: 11.94 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.2745, allocations: 19.91 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2746, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.2749, allocations: 271.7 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.275, allocations: 7.984 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.275, allocations: 11.94 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2752, allocations: 111.6 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2752, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2752, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2752, allocations: 0 / 1.222 GB, free: 12.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004037/0.2756, allocations: 363.2 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2756, allocations: 11.97 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.2757, allocations: 30.75 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.2757, allocations: 12.88 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2759, allocations: 168.3 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2759, allocations: 12.38 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.2759, allocations: 4.375 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.276, allocations: 42.25 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.276, allocations: 3.938 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.276, allocations: 11.98 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.276, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.2761, allocations: 19.98 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.2763, allocations: 165.6 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.2764, allocations: 70.56 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.2764, allocations: 28.84 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.2771, allocations: 461.5 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2771, allocations: 30.56 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2772, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001175/0.2783, allocations: 0.5917 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.2784, allocations: 63.39 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.2784, allocations: 97.86 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2785, allocations: 25.7 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.2785, allocations: 88.08 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.2786, allocations: 39.64 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.2786, allocations: 29.7 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2787, allocations: 318.8 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.2788, allocations: 27.98 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.2788, allocations: 20 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.2789, allocations: 56.84 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2789, allocations: 0 / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001534/0.2791, allocations: 101.6 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2791, allocations: 4 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2791, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.2791, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.2792, allocations: 27.92 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2792, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.2793, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.2793, allocations: 8 kB / 1.225 GB, free: 9.422 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 (13): * Single equations (assignments): 13 * 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.396e-05/0.2794, allocations: 116.3 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2794, allocations: 7.938 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.2796, allocations: 113.6 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2796, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2796, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2796, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.28, allocations: 358.7 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.28, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.2801, allocations: 23.92 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2801, allocations: 4 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2801, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2801, allocations: 0 / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2801, allocations: 0 / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2804, allocations: 223.6 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.2805, allocations: 101 kB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2805, allocations: 4.062 kB / 1.225 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.2806, allocations: 0 / 1.225 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2806, allocations: 7.984 kB / 1.225 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2806, allocations: 8 kB / 1.225 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.2806, allocations: 79.28 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2806, allocations: 3.938 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002479/0.2809, allocations: 39.94 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006333/0.2815, allocations: 0.7943 MB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.2817, allocations: 71.59 kB / 1.226 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2817, allocations: 0 / 1.226 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.2817, allocations: 31.94 kB / 1.226 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.282, allocations: 13.11 kB / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2832, allocations: 1.392 MB / 1.228 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2835, allocations: 0.6885 MB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.2835, allocations: 15.92 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.2836, allocations: 15.44 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of SimCode: time 2.024e-06/0.2836, allocations: 0 / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.482/2.766, allocations: 2.483 MB / 1.231 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/10.73, allocations: 22.66 kB / 1.231 GB, free: 2.742 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,x,y,der(x),der(y) Variables in the result:delta,der(der(x)),der(der_y),der(der_y_comp),der(x),der(y),der(y_comp),der_err,der_y,der_y_comp,err,n,time,x,y,y_comp