Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005271/0.005271, allocations: 174.1 kB / 16.26 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.633/2.633, allocations: 443.3 MB / 0.7175 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 10.09 kB / 0.8796 GB, free: 41.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3062, allocations: 155.2 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007542/0.307, allocations: 320.4 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007146/0.3078, allocations: 355.4 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.3078, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.3078, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.3079, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3083, allocations: 71.84 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.27e-05/0.3083, allocations: 0 / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3084, allocations: 0 / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.3084, allocations: 7.938 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.3084, allocations: 4 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3085, allocations: 0 / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.3089, allocations: 271.6 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.3089, allocations: 4 kB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.309, allocations: 33.62 kB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3091, allocations: 87.86 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3092, allocations: 0 / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3092, allocations: 0 / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3092, allocations: 0 / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003112/0.3095, allocations: 331.6 kB / 1.033 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3095, allocations: 12.03 kB / 1.033 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.3096, allocations: 0.9375 kB / 1.033 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.3097, allocations: 160.4 kB / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.3097, allocations: 384 / 1.033 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3097, allocations: 4.375 kB / 1.033 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.3098, allocations: 30.25 kB / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3098, allocations: 192 / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3098, allocations: 3.938 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3099, allocations: 0 / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.3099, allocations: 11.94 kB / 1.033 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.31, allocations: 153.6 kB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.3101, allocations: 18.58 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.3101, allocations: 8.953 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/0.3106, allocations: 429.5 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3106, allocations: 34.55 kB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.3106, allocations: 0 / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.3108, allocations: 37.58 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3108, allocations: 51.41 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.098e-05/0.3109, allocations: 89.86 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3109, allocations: 29.64 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.3109, allocations: 84.14 kB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3109, allocations: 8.125 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.311, allocations: 9.719 kB / 1.034 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.3111, allocations: 310.8 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.3111, allocations: 3.938 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.3111, allocations: 7.984 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.3111, allocations: 4.859 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3111, allocations: 0 / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.406e-05/0.3112, allocations: 37.7 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3112, allocations: 8.031 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3112, allocations: 0 / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3113, allocations: 3.938 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.3113, allocations: 4 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3113, allocations: 0 / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.3113, allocations: 0 / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.3113, allocations: 4 kB / 1.034 GB, free: 1.012 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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 6.326e-05/0.3114, allocations: 114 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3114, allocations: 4 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.439e-05/0.3115, allocations: 44.7 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3115, allocations: 0 / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3116, allocations: 0 / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3116, allocations: 0 / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3117, allocations: 157.6 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3117, allocations: 0 / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.3117, allocations: 0 / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3117, allocations: 0 / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.3117, allocations: 3.938 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3117, allocations: 4.031 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3117, allocations: 4 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.941e-05/0.3118, allocations: 53.12 kB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3119, allocations: 81.09 kB / 1.034 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3119, allocations: 3.938 kB / 1.034 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.3119, allocations: 8 kB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.3119, allocations: 0 / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3119, allocations: 4.031 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.3119, allocations: 83.16 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3119, allocations: 0 / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001864/0.3121, allocations: 12 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001759/0.3123, allocations: 111.2 kB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.467e-05/0.3124, allocations: 4 kB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3124, allocations: 0 / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.3124, allocations: 4.062 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3125, allocations: 7.656 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.3127, allocations: 78.66 kB / 1.035 GB, free: 112 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3129, allocations: 0.6692 MB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.313, allocations: 7.938 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.313, allocations: 7.438 kB / 1.035 GB, free: 15.4 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.313, allocations: 0 / 1.035 GB, free: 15.4 MB / 0.795 GB Notification: Performance of Templates: time 0.002545/0.3155, allocations: 452.4 kB / 1.036 GB, free: 14.96 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches