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.001844/0.001844, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002452/0.002452, allocations: 214.4 kB / 22.25 MB, free: 5.125 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.957 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.452/3.452, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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.002025/0.002025, allocations: 67.73 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4146, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001636/0.4162, allocations: 0.6083 MB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.4169, allocations: 347.2 kB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.4169, allocations: 0 / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.4169, allocations: 3.938 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.267e-05/0.417, allocations: 4 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.4174, allocations: 110.8 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.4174, allocations: 4 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.4175, allocations: 8 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.4175, allocations: 11.91 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.4175, allocations: 4 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4176, allocations: 0 / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.418, allocations: 279.6 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.418, allocations: 4 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.418, allocations: 11.92 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.4182, allocations: 96 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4182, allocations: 0 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4182, allocations: 0 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.4182, allocations: 0 / 1.327 GB, free: 468 kB / 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.0003546/0.4185, allocations: 262.2 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4186, allocations: 11.97 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.4186, allocations: 34.75 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.4186, allocations: 8.891 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4188, allocations: 110.5 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4188, allocations: 4.375 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.4188, allocations: 384 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.4189, allocations: 34.27 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4189, allocations: 3.938 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.4189, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4189, allocations: 3.984 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.4189, allocations: 11.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.4191, allocations: 128.7 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.4191, allocations: 22.59 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.4191, allocations: 8.859 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.4197, allocations: 75.98 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4197, allocations: 30.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4197, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000451/0.4202, allocations: 177.2 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4202, allocations: 59.62 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.4203, allocations: 97.78 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4203, allocations: 29.7 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.4203, allocations: 84.14 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4203, allocations: 3.953 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4204, allocations: 17.72 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4205, allocations: 318.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.4205, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.4205, allocations: 21.84 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.4206, allocations: 29.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4206, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.444e-05/0.4207, allocations: 53.59 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4207, allocations: 7.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4207, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4207, allocations: 4.062 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.4208, allocations: 15.98 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4208, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.4208, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4208, allocations: 4 kB / 1.329 GB, free: 14.58 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 7.576e-05/0.4209, allocations: 113.8 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.4209, allocations: 7.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.421, allocations: 61.3 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.421, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.421, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.421, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.4211, allocations: 124.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4211, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.4212, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4212, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.4212, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4212, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4212, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.4213, allocations: 81.06 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.4213, allocations: 11.95 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.4214, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.4214, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.4214, allocations: 240 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4214, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.4215, allocations: 75.28 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4215, allocations: 4.156 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002047/0.4217, allocations: 27.92 kB / 1.329 GB, free: 13.97 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.0005018/0.4222, allocations: 0.6513 MB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.4222, allocations: 15.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4222, allocations: 4.188 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.4223, allocations: 11.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.4224, allocations: 5.875 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.4234, allocations: 1.135 MB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4236, allocations: 0.6768 MB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.4237, allocations: 7.922 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.4237, allocations: 19.44 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4237, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0918/0.5155, allocations: 1.838 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.29, allocations: 3.562 kB / 1.334 GB, free: 9.598 MB / 1.029 GB " [Timeout remaining time 287] (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: 22.249653744976968]