Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00226/0.00226, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.003044/0.003044, allocations: 213.1 kB / 22.24 MB, free: 5.242 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.858/2.858, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_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.002094/0.002094, allocations: 69.53 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001943/0.3494, allocations: 0.6013 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000756/0.3501, allocations: 315 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.3502, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.3502, allocations: 4 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.326e-05/0.3502, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.3507, allocations: 123.1 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.3507, allocations: 4 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.3508, allocations: 7.938 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.3508, allocations: 4 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.3508, allocations: 7.984 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3509, allocations: 4 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.3513, allocations: 255.7 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3513, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.3513, allocations: 7.922 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3515, allocations: 93.47 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3515, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3515, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3515, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 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.0003917/0.3519, allocations: 262.2 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.352, allocations: 12.03 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.352, allocations: 34.75 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.3521, allocations: 4.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3522, allocations: 114.4 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3522, allocations: 12.3 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3522, allocations: 384 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3523, allocations: 59.91 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3523, allocations: 3.938 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.3524, allocations: 4 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3524, allocations: 0 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.3524, allocations: 3.984 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3526, allocations: 124.8 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/0.3526, allocations: 30.55 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.3527, allocations: 8.922 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.3532, allocations: 83.84 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.3533, allocations: 38.56 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3533, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.3538, allocations: 173.2 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3539, allocations: 55.41 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.354, allocations: 93.86 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.354, allocations: 29.7 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.354, allocations: 80.14 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.354, allocations: 7.938 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.3541, allocations: 22.06 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3542, allocations: 310.8 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.3543, allocations: 11.98 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.3543, allocations: 17.72 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.3543, allocations: 25.66 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3543, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.3545, allocations: 53.62 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3545, allocations: 11.94 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3545, allocations: 64 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3545, allocations: 4 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.3546, allocations: 8 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3546, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3546, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3546, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 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 0.0001024/0.3547, allocations: 113.8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3547, allocations: 7.891 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.3549, allocations: 57.31 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3549, allocations: 7.938 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3549, allocations: 4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3549, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.355, allocations: 124.7 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.355, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3551, allocations: 8 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3551, allocations: 3.938 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3551, allocations: 0 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3551, allocations: 8 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3551, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3553, allocations: 73.11 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.3553, allocations: 15.94 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3553, allocations: 4.031 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.3553, allocations: 0 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.3553, allocations: 4.172 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.3553, allocations: 4 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.3554, allocations: 79.27 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3554, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002292/0.3556, allocations: 23.94 kB / 1.286 GB, free: 8.473 MB / 0.9825 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.0006317/0.3563, allocations: 0.6437 MB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3564, allocations: 23.92 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3564, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.3564, allocations: 8 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3565, allocations: 6.344 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3577, allocations: 1.127 MB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.3578, allocations: 63.34 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.3578, allocations: 4.188 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.3578, allocations: 11.44 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3578, allocations: 0 / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3892, allocations: 2.234 MB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.98, allocations: 15.97 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.695102867204696]