Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001912/0.001912, allocations: 102 kB / 16.45 MB, free: 6.5 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.002319/0.002319, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.249/3.249, allocations: 0.49 GB / 0.7916 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",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.002178/0.002178, allocations: 77.67 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3966, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001928/0.3985, allocations: 0.5943 MB / 1.321 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00075/0.3993, allocations: 351.2 kB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3993, allocations: 0 / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.3993, allocations: 3.938 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.3993, allocations: 0 / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.3998, allocations: 111.7 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.3999, allocations: 4 kB / 1.322 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.3999, allocations: 4 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.4, allocations: 15.92 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.4, allocations: 3.984 kB / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4, allocations: 0 / 1.322 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.4004, allocations: 279.6 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.4005, allocations: 7.984 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.4005, allocations: 7.875 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4007, allocations: 92 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4007, allocations: 0 / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4007, allocations: 0 / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4007, allocations: 4 kB / 1.322 GB, free: 1.852 MB / 1.014 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.0004401/0.4011, allocations: 343.3 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4012, allocations: 15.98 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.4012, allocations: 34.73 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.4013, allocations: 0.9375 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4014, allocations: 168.3 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.4014, allocations: 4.375 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4014, allocations: 384 / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4015, allocations: 34.25 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4015, allocations: 7.938 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4016, allocations: 0 / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.4016, allocations: 3.938 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.4016, allocations: 7.938 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.4018, allocations: 153.7 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.4018, allocations: 22.61 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.4018, allocations: 4.859 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/0.4026, allocations: 461.5 kB / 1.323 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4026, allocations: 30.56 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 3.075e-06/0.4026, allocations: 4 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005519/0.4032, allocations: 258.3 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4032, allocations: 51.41 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.4033, allocations: 97.8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.4033, allocations: 25.7 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.4034, allocations: 84.14 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4034, allocations: 8.281 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.4035, allocations: 21.72 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4036, allocations: 314.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.4036, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.4037, allocations: 25.7 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.4037, allocations: 21.72 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4037, allocations: 4 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.4038, allocations: 57.58 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4038, allocations: 7.938 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4038, allocations: 7.984 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4039, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.4039, allocations: 8 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4039, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.4039, allocations: 7.938 kB / 1.324 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4039, allocations: 0 / 1.324 GB, free: 15.22 MB / 1.029 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 8.626e-05/0.404, allocations: 125.8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4041, allocations: 3.938 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.4042, allocations: 53.31 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4042, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4042, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4042, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.4044, allocations: 157.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4044, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.4044, allocations: 12 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4044, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4044, allocations: 3.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4044, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4044, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.4046, allocations: 77.06 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.4047, allocations: 85.08 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.4047, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.4047, allocations: 4.062 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.4047, allocations: 7.984 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4047, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.4048, allocations: 79.28 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4048, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002269/0.405, allocations: 23.94 kB / 1.325 GB, free: 14.49 MB / 1.029 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.0006202/0.4056, allocations: 0.6514 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.4057, allocations: 15.98 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4057, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.4058, allocations: 11.94 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.4059, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4071, allocations: 1.143 MB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4074, allocations: 0.6768 MB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.4074, allocations: 3.938 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.4075, allocations: 19.42 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4075, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.4356, allocations: 1.753 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.44, allocations: 6.344 kB / 1.329 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.191497501917183]