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.001453/0.001453, allocations: 97.31 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.001519/0.001519, allocations: 217 kB / 23.03 MB, free: 4.922 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.767/2.767, allocations: 476.8 MB / 0.7715 GB, free: 3.852 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_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.001976/0.001976, allocations: 61.05 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.302, allocations: 169.9 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001861/0.3039, allocations: 0.6035 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.3046, allocations: 315.1 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.3046, allocations: 4 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.3046, allocations: 3.938 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.3046, allocations: 3.938 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.3051, allocations: 119.1 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.3051, allocations: 8 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3052, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.3052, allocations: 7.984 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.3052, allocations: 4 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3052, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.3056, allocations: 275.6 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.3056, allocations: 11.92 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.3057, allocations: 3.984 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3058, allocations: 89.2 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3058, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3058, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3058, allocations: 0 / 1.286 GB, free: 9.184 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.0003453/0.3062, allocations: 266.2 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3062, allocations: 12.03 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.165e-05/0.3062, allocations: 4.188 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.3063, allocations: 30.75 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3063, allocations: 0.9375 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3064, allocations: 118.4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3064, allocations: 4.375 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3064, allocations: 384 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3066, allocations: 59.72 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3066, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3066, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3066, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.3066, allocations: 11.92 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3068, allocations: 120.8 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.3068, allocations: 22.61 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.3068, allocations: 12.91 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.3074, allocations: 79.86 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3075, allocations: 38.5 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3075, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004783/0.3079, allocations: 173.2 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.308, allocations: 59.34 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.308, allocations: 97.84 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3081, allocations: 30.05 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3081, allocations: 84.14 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3081, allocations: 3.953 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3082, allocations: 17.72 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3083, allocations: 310.8 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.3083, allocations: 11.98 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.3083, allocations: 17.72 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.3084, allocations: 21.72 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3084, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.3085, allocations: 61.59 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3085, allocations: 8 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3085, allocations: 3.938 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3085, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.3086, allocations: 8 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3086, allocations: 4 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.3086, allocations: 3.984 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3086, allocations: 0 / 1.287 GB, free: 7.277 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 7.676e-05/0.3087, allocations: 115.1 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3087, allocations: 7.891 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3088, allocations: 61.39 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3088, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3089, allocations: 4 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3089, allocations: 0 / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.309, allocations: 124.8 kB / 1.287 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.309, allocations: 0 / 1.287 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.309, allocations: 7.938 kB / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.309, allocations: 192 / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.309, allocations: 4 kB / 1.287 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.309, allocations: 4 kB / 1.287 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.309, allocations: 7.984 kB / 1.287 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3092, allocations: 77.05 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.3092, allocations: 15.88 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3092, allocations: 4.031 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.3092, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.3092, allocations: 3.984 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3093, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.3093, allocations: 75.28 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3093, allocations: 0 / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002135/0.3095, allocations: 23.94 kB / 1.288 GB, free: 6.672 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.0005088/0.31, allocations: 0.6515 MB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.3101, allocations: 15.98 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3101, allocations: 0 / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.3101, allocations: 11.94 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3103, allocations: 4 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3113, allocations: 1.139 MB / 1.289 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.3113, allocations: 59.61 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.3114, allocations: 8 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.3114, allocations: 11.42 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3114, allocations: 0 / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.3342, allocations: 1.896 MB / 1.291 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.91, allocations: 12.55 kB / 1.291 GB, free: 2.875 MB / 0.9825 GB " [Timeout remaining time 288] (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.595821521012112]