Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001396/0.001396, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001497/0.001497, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.301/3.301, allocations: 0.5003 GB / 0.8062 GB, free: 28.22 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.002071/0.002071, allocations: 64.95 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4401, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002138/0.4423, allocations: 0.6225 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.4431, allocations: 315.2 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.4432, allocations: 4 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.4432, allocations: 3.938 kB / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.711e-05/0.4432, allocations: 0 / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.4438, allocations: 118 kB / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.4439, allocations: 31.91 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.4439, allocations: 3.984 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.444, allocations: 8 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.444, allocations: 11.92 kB / 1.346 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4441, allocations: 4 kB / 1.346 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.4445, allocations: 275.7 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.4445, allocations: 11.97 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.4446, allocations: 11.94 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4448, allocations: 107.9 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4448, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4448, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4448, allocations: 0 / 1.347 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005005/0.4453, allocations: 290 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4453, allocations: 8.031 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.858e-05/0.4454, allocations: 4.188 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.4454, allocations: 38.69 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4455, allocations: 4.891 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.4456, allocations: 114.5 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4456, allocations: 4.375 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.4456, allocations: 4.375 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4458, allocations: 101.4 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4458, allocations: 0 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4458, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4458, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.4459, allocations: 23.92 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.4461, allocations: 132.8 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4462, allocations: 50.56 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.4463, allocations: 32.84 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.4469, allocations: 75.92 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4469, allocations: 34.5 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4469, allocations: 4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001403/0.4483, allocations: 471.7 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4484, allocations: 51.41 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.4485, allocations: 97.84 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4485, allocations: 29.7 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.4485, allocations: 84.14 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.4486, allocations: 43.62 kB / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4486, allocations: 25.72 kB / 1.348 GB, free: 12.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4488, allocations: 322.8 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.4488, allocations: 20 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.4489, allocations: 19.98 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.449, allocations: 60.84 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.449, allocations: 0 / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001731/0.4491, allocations: 100.6 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4492, allocations: 8 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4492, allocations: 96 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4492, allocations: 3.938 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4493, allocations: 19.98 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4493, allocations: 8 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.4493, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4493, allocations: 8 kB / 1.349 GB, free: 11.85 MB / 1.045 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 9.99e-05/0.4494, allocations: 121.7 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4494, allocations: 11.89 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4497, allocations: 101.7 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4497, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4497, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4497, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.4501, allocations: 325.5 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4501, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4502, allocations: 23.98 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4502, allocations: 4 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4502, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4502, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4502, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.4505, allocations: 219.4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.4506, allocations: 19.91 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.4506, allocations: 4 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.4507, allocations: 4 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.4507, allocations: 11.98 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4507, allocations: 4.062 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.4508, allocations: 83.27 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4508, allocations: 0 / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002898/0.451, allocations: 47.81 kB / 1.35 GB, free: 10.8 MB / 1.045 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.0007547/0.4518, allocations: 0.7908 MB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.452, allocations: 59.91 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.452, allocations: 0 / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.452, allocations: 31.88 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.4522, allocations: 9.312 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.4538, allocations: 1.41 MB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.4539, allocations: 67.34 kB / 1.352 GB, free: 8.312 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.636e-05/0.4539, allocations: 15.92 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.454, allocations: 19.44 kB / 1.352 GB, free: 8.281 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.454, allocations: 0 / 1.352 GB, free: 8.281 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.4804, allocations: 2.655 MB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.79, allocations: 19.67 kB / 1.355 GB, free: 5.77 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.994248344097286]