Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 71.16 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3167, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002018/0.3187, allocations: 0.6163 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.3195, allocations: 348.9 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.3195, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.3195, allocations: 3.938 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.3196, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3201, allocations: 127.6 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.3202, allocations: 23.92 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.3202, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.3203, allocations: 15.98 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.3203, allocations: 11.92 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3203, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.3207, allocations: 271.7 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3207, allocations: 7.984 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.3208, allocations: 19.86 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.321, allocations: 95.84 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.321, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.321, allocations: 3.938 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.321, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004399/0.3215, allocations: 367.7 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3215, allocations: 11.97 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.3216, allocations: 4.938 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3217, allocations: 168.3 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3217, allocations: 4.375 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3218, allocations: 8.375 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3219, allocations: 54.22 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3219, allocations: 4.172 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3219, allocations: 7.938 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3219, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.322, allocations: 19.98 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.3222, allocations: 165.6 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3223, allocations: 66.48 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.3224, allocations: 24.86 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.3231, allocations: 457.5 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3231, allocations: 34.56 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3231, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001366/0.3245, allocations: 0.5956 MB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3246, allocations: 59.41 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.3247, allocations: 93.84 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3247, allocations: 33.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.3247, allocations: 80.14 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3248, allocations: 35.45 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.3248, allocations: 25.72 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3249, allocations: 326.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.325, allocations: 16 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.325, allocations: 23.98 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.3251, allocations: 56.84 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3251, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001648/0.3253, allocations: 101.5 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3253, allocations: 8 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3254, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3254, allocations: 3.938 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3255, allocations: 23.92 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3255, allocations: 4 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.3255, allocations: 4 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3255, allocations: 4 kB / 1.073 GB, free: 5.613 MB / 0.8262 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 (13): * Single equations (assignments): 13 * 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.733e-05/0.3256, allocations: 115.4 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.3257, allocations: 11.84 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.3258, allocations: 109.6 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3259, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3259, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3259, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.3262, allocations: 354.5 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3263, allocations: 4.094 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3264, allocations: 27.86 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3264, allocations: 192 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3264, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3264, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3264, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3267, allocations: 237.9 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3267, allocations: 81.12 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3267, allocations: 12.06 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.3268, allocations: 7.984 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3269, allocations: 4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3269, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.3269, allocations: 83.27 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3269, allocations: 3.938 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002849/0.3272, allocations: 40 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002351/0.3275, allocations: 143.8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.3276, allocations: 75.84 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3276, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.3277, allocations: 31.92 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3279, allocations: 9.891 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3283, allocations: 190 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3286, allocations: 0.6924 MB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.3286, allocations: 4 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3287, allocations: 11.44 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3287, allocations: 4 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.003944/0.3326, allocations: 1.409 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches