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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 93.92 kB / 19.73 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 215.6 kB / 23.03 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.327/3.327, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 65.78 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4341, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001938/0.436, allocations: 0.5902 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.4368, allocations: 319.2 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.4368, allocations: 4 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.4369, allocations: 0 / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.931e-05/0.4369, allocations: 0 / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.4374, allocations: 111.6 kB / 1.346 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.4374, allocations: 8 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.4375, allocations: 7.984 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.4375, allocations: 0 / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.4376, allocations: 4 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4376, allocations: 7.984 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.438, allocations: 283.6 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.438, allocations: 0 / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.4381, allocations: 4 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4383, allocations: 92.02 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4383, allocations: 0 / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4383, allocations: 3.938 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4383, allocations: 0 / 1.347 GB, free: 14.52 MB / 1.045 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.0004259/0.4387, allocations: 270.2 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4388, allocations: 12.03 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.4388, allocations: 192 / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.4388, allocations: 34.75 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.4389, allocations: 4.938 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.439, allocations: 110.5 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.439, allocations: 384 / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.439, allocations: 8.375 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4392, allocations: 75.58 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4392, allocations: 0 / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.4392, allocations: 0 / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4392, allocations: 0 / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.4392, allocations: 4 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.4394, allocations: 124.8 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.4395, allocations: 22.56 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.4395, allocations: 12.8 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.4401, allocations: 75.98 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4401, allocations: 34.5 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4401, allocations: 0 / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005547/0.4407, allocations: 177.2 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4407, allocations: 55.39 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.4408, allocations: 93.86 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4408, allocations: 29.7 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.4409, allocations: 80.14 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4409, allocations: 12.25 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.441, allocations: 21.72 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4411, allocations: 318.8 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.4411, allocations: 4 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.4412, allocations: 17.72 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.4412, allocations: 33.58 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4412, allocations: 0 / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001252/0.4414, allocations: 49.64 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4414, allocations: 8.062 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4414, allocations: 4 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4414, allocations: 3.938 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.4415, allocations: 11.98 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4415, allocations: 0 / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.4415, allocations: 0 / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4415, allocations: 4 kB / 1.348 GB, free: 12.6 MB / 1.045 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 9.345e-05/0.4416, allocations: 109.8 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4416, allocations: 8.078 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.4418, allocations: 61.34 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4418, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4418, allocations: 3.938 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4418, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.4419, allocations: 124.7 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4419, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.442, allocations: 11.92 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.442, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.442, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.442, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.442, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.4421, allocations: 77.12 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.4422, allocations: 11.92 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4422, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.4422, allocations: 11.98 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.4422, allocations: 4 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4422, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.4423, allocations: 79.22 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4423, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002226/0.4425, allocations: 23.94 kB / 1.349 GB, free: 12 MB / 1.045 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.0006251/0.4431, allocations: 0.6438 MB / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4433, allocations: 19.94 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4433, allocations: 3.938 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.4433, allocations: 7.984 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.4434, allocations: 9.5 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4446, allocations: 1.127 MB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.4447, allocations: 67.34 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.4447, allocations: 8.25 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.4447, allocations: 7.438 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.4447, allocations: 0 / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.4693, allocations: 1.902 MB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.74, allocations: 4.062 kB / 1.353 GB, free: 8.211 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.834661508910358]