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 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.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.001021/0.001021, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001363/0.001363, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 14.42 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.395, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008613/0.3959, allocations: 342.9 kB / 1.058 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.3967, allocations: 335.1 kB / 1.059 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.3968, allocations: 4 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.3968, allocations: 3.938 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.3969, allocations: 0 / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.3973, allocations: 79.84 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.3974, allocations: 19.92 kB / 1.059 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.016e-05/0.3975, allocations: 4 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.3975, allocations: 11.97 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.3976, allocations: 11.94 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3976, allocations: 4 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.398, allocations: 267.6 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.398, allocations: 4 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3981, allocations: 29.7 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3982, allocations: 67.88 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.3982, allocations: 0 / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3982, allocations: 3.938 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3983, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 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.000443/0.3987, allocations: 355.5 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3988, allocations: 12.03 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.3988, allocations: 7.906 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.399, allocations: 159.1 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.399, allocations: 4 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.399, allocations: 7.953 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3992, allocations: 53.67 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3992, allocations: 3.938 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3992, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3992, allocations: 0 / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.3993, allocations: 27.92 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3995, allocations: 165.7 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3996, allocations: 58.55 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.3996, allocations: 28.84 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.4003, allocations: 469.4 kB / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4004, allocations: 30.56 kB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.4004, allocations: 4 kB / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.4016, allocations: 0.5916 MB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4017, allocations: 59.34 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.4018, allocations: 93.86 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4018, allocations: 29.7 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.4018, allocations: 84.12 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4019, allocations: 35.45 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4019, allocations: 8 kB / 1.061 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.402, allocations: 318.8 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.402, allocations: 23.98 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.4021, allocations: 16 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.4021, allocations: 26.12 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4021, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000154/0.4023, allocations: 97.62 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4023, allocations: 8 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4023, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4024, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4025, allocations: 31.92 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4025, allocations: 96 / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.4025, allocations: 7.938 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4025, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.4026, allocations: 109.8 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.4026, allocations: 11.86 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.4029, allocations: 113.5 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4029, allocations: 4 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4029, allocations: 4 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4029, allocations: 0 / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.4033, allocations: 346.5 kB / 1.062 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4033, allocations: 0 / 1.062 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4034, allocations: 19.94 kB / 1.062 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4034, allocations: 7.922 kB / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4034, allocations: 8 kB / 1.062 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4034, allocations: 4 kB / 1.062 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4034, allocations: 0 / 1.062 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.4037, allocations: 215.4 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.4038, allocations: 89.03 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.4038, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.4039, allocations: 8 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.4039, allocations: 7.984 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.4039, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.404, allocations: 91.39 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.553e-06/0.404, allocations: 64 / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002725/0.4043, allocations: 47.92 kB / 1.063 GB, free: 15.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.4046, allocations: 145.8 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.4047, allocations: 59.97 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4047, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.4048, allocations: 31.94 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.405, allocations: 11.95 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.4054, allocations: 199 kB / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4056, allocations: 0.6809 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.4057, allocations: 11.94 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.4057, allocations: 15.42 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of SimCode: time 1.663e-06/0.4057, allocations: 4 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.00379/0.4095, allocations: 1.353 MB / 1.065 GB, free: 13.22 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