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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001473/0.001473, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001536/0.001536, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.58/1.58, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 469.4 MB / 0.7428 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9846/0.986, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002507/0.9886, allocations: 0.6192 MB / 1.222 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.9895, allocations: 362.7 kB / 1.222 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.9896, allocations: 3.938 kB / 1.222 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.9896, allocations: 0 / 1.222 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.9897, allocations: 0 / 1.222 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.9904, allocations: 119.6 kB / 1.222 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.9905, allocations: 19.98 kB / 1.222 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.9906, allocations: 7.984 kB / 1.222 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.9906, allocations: 11.92 kB / 1.222 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.9907, allocations: 19.92 kB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.9907, allocations: 4 kB / 1.222 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.9912, allocations: 271.7 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.9912, allocations: 3.984 kB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.9912, allocations: 15.92 kB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.9915, allocations: 99.78 kB / 1.222 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.9915, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9915, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.9916, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.9356 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.0005187/0.9921, allocations: 371.2 kB / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9921, allocations: 8.625 kB / 1.223 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.9922, allocations: 4.938 kB / 1.223 GB, free: 380 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.9924, allocations: 168.4 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.9924, allocations: 12.31 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.9924, allocations: 4.281 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.9926, allocations: 54.17 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.9926, allocations: 192 / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.9926, allocations: 7.938 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.9926, allocations: 4 kB / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.9927, allocations: 23.92 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.9929, allocations: 165.7 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9931, allocations: 58.55 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.9931, allocations: 24.86 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007492/0.9939, allocations: 465.5 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.9939, allocations: 30.56 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.9939, allocations: 0 / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.001451/0.9954, allocations: 0.5935 MB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.9954, allocations: 51.41 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.9955, allocations: 105.8 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.9955, allocations: 29.7 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.9956, allocations: 88.08 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.9956, allocations: 39.36 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.9957, allocations: 29.72 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9959, allocations: 314.8 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.9959, allocations: 20 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.996, allocations: 23.98 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/0.9961, allocations: 56.48 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.9961, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001625/0.9962, allocations: 101.6 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.9963, allocations: 8 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9963, allocations: 0 / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9963, allocations: 7.938 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.9964, allocations: 19.98 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.9964, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.9965, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.9965, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 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 0.0001063/0.9966, allocations: 114.4 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.9966, allocations: 15.84 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.9968, allocations: 105.5 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9969, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9969, allocations: 8 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.997, allocations: 85.09 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.997, allocations: 4 kB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.997, allocations: 0 / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.9971, allocations: 12.17 kB / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002573/0.9973, allocations: 188.7 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000356/0.9977, allocations: 298.7 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.361e-05/0.9978, allocations: 28.45 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.9978, allocations: 79.31 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/0.9978, allocations: 7.938 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007065/0.9986, allocations: 166.1 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008454/0.9994, allocations: 0.6008 MB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.006295/1.006, allocations: 1.602 MB / 1.228 GB, free: 10.15 MB / 0.9512 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/jenkins1/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