Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_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.004527/0.004527, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001202/0.001202, allocations: 192.1 kB / 16.67 MB, free: 5.871 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.562/2.562, allocations: 482.6 MB / 0.755 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 66.33 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2884, allocations: 162.3 MB / 1.242 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001571/0.29, allocations: 0.5975 MB / 1.242 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000696/0.2907, allocations: 343.1 kB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.2908, allocations: 4 kB / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.2908, allocations: 0 / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.314e-05/0.2908, allocations: 0 / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.2913, allocations: 119.6 kB / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.2913, allocations: 11.92 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.2914, allocations: 8 kB / 1.243 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.2914, allocations: 3.984 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.2914, allocations: 7.984 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2914, allocations: 0 / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.2918, allocations: 271.7 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.2919, allocations: 0 / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.2919, allocations: 7.938 kB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2921, allocations: 99.98 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2921, allocations: 3.938 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2921, allocations: 0 / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2921, allocations: 0 / 1.243 GB, free: 7.414 MB / 0.9669 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.0003937/0.2925, allocations: 347.2 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2925, allocations: 8.031 kB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.2926, allocations: 34.75 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.2926, allocations: 4.938 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2928, allocations: 164.4 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2928, allocations: 4.375 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.2928, allocations: 8.312 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.2929, allocations: 30.27 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2929, allocations: 3.938 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2929, allocations: 0 / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2929, allocations: 0 / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.293, allocations: 3.984 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2931, allocations: 153.6 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.2932, allocations: 30.66 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.2932, allocations: 12.8 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.294, allocations: 457.5 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.294, allocations: 34.55 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.294, allocations: 0 / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004914/0.2945, allocations: 254.3 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2945, allocations: 55.41 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.2946, allocations: 94.08 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2946, allocations: 29.7 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.2947, allocations: 84.14 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2947, allocations: 3.953 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.462e-05/0.2947, allocations: 21.7 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2949, allocations: 310.8 kB / 1.245 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.2949, allocations: 8 kB / 1.245 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.295, allocations: 21.83 kB / 1.245 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.295, allocations: 33.66 kB / 1.245 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.295, allocations: 0 / 1.245 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.2951, allocations: 53.64 kB / 1.245 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2951, allocations: 13.91 kB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2951, allocations: 0 / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2952, allocations: 0 / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.2952, allocations: 11.94 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2952, allocations: 4.062 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.2953, allocations: 0 / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2953, allocations: 8 kB / 1.246 GB, free: 4.777 MB / 0.9669 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 7.926e-05/0.2954, allocations: 106.4 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2954, allocations: 11.88 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2955, allocations: 57.11 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2955, allocations: 4.188 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2957, allocations: 157.7 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2957, allocations: 0 / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.2958, allocations: 4 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2958, allocations: 3.938 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2958, allocations: 4 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2958, allocations: 0 / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2958, allocations: 0 / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.2959, allocations: 81.11 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.296, allocations: 85 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.296, allocations: 4.031 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.2961, allocations: 4 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.2961, allocations: 0 / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2961, allocations: 7.922 kB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.2961, allocations: 79.28 kB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2961, allocations: 0 / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001986/0.2963, allocations: 28.09 kB / 1.246 GB, free: 4.051 MB / 0.9669 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.0005516/0.2969, allocations: 0.6397 MB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.297, allocations: 19.92 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.297, allocations: 0 / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.297, allocations: 8.188 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.2972, allocations: 8 kB / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.2982, allocations: 1.127 MB / 1.248 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2985, allocations: 0.6806 MB / 1.249 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.2985, allocations: 7.938 kB / 1.249 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.2985, allocations: 11.44 kB / 1.249 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.2985, allocations: 4 kB / 1.249 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/0.6851, allocations: 1.742 MB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.912, allocations: 16.42 kB / 1.25 GB, free: 15.79 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches