Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001686/0.001686, allocations: 114.3 kB / 16.81 MB, free: 5.766 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.001776/0.001776, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.529/1.529, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.27 kB / 1.097 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4451, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001942/0.447, allocations: 0.633 MB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.4479, allocations: 355 kB / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.4479, allocations: 0 / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.4479, allocations: 0 / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.448, allocations: 3.938 kB / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.4485, allocations: 120.9 kB / 1.263 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.4486, allocations: 19.98 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.4486, allocations: 4 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.4487, allocations: 11.92 kB / 1.263 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.4487, allocations: 19.91 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.4487, allocations: 3.938 kB / 1.263 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.4492, allocations: 271.7 kB / 1.263 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.4492, allocations: 7.984 kB / 1.263 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.4492, allocations: 11.94 kB / 1.264 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.4494, allocations: 107.6 kB / 1.264 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4494, allocations: 0 / 1.264 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4494, allocations: 0 / 1.264 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4494, allocations: 0 / 1.264 GB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005591/0.45, allocations: 363.2 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4501, allocations: 8.625 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.4501, allocations: 4.891 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4503, allocations: 168.3 kB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4503, allocations: 384 / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.4504, allocations: 16.36 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4505, allocations: 46.25 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4505, allocations: 192 / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4505, allocations: 7.938 kB / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4505, allocations: 0 / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.068e-05/0.4506, allocations: 19.92 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.4508, allocations: 177.5 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.451, allocations: 58.55 kB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.451, allocations: 28.86 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000825/0.4518, allocations: 457.5 kB / 1.265 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4519, allocations: 38.56 kB / 1.265 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4519, allocations: 0 / 1.265 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001414/0.4533, allocations: 0.5915 MB / 1.266 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4533, allocations: 51.41 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.4534, allocations: 105.8 kB / 1.266 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4535, allocations: 29.7 kB / 1.266 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.4535, allocations: 84.08 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.4536, allocations: 43.73 kB / 1.266 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.4536, allocations: 29.66 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4538, allocations: 318.8 kB / 1.266 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.4538, allocations: 16 kB / 1.266 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.4539, allocations: 27.98 kB / 1.266 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.721e-05/0.454, allocations: 58.11 kB / 1.266 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.454, allocations: 4 kB / 1.266 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001859/0.4541, allocations: 103.4 kB / 1.266 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4542, allocations: 10.03 kB / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4542, allocations: 0 / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4542, allocations: 0 / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4543, allocations: 19.98 kB / 1.266 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.4543, allocations: 4 kB / 1.266 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.4543, allocations: 4 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4544, allocations: 0 / 1.266 GB, free: 8.207 MB / 0.9825 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.0001265/0.4545, allocations: 122.6 kB / 1.267 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4545, allocations: 7.938 kB / 1.267 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.4547, allocations: 105.7 kB / 1.267 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4547, allocations: 0 / 1.267 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4547, allocations: 4 kB / 1.267 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.4548, allocations: 85.05 kB / 1.267 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4548, allocations: 8 kB / 1.267 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.4549, allocations: 0 / 1.267 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.4549, allocations: 11.98 kB / 1.267 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002546/0.4552, allocations: 184.8 kB / 1.267 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003568/0.4555, allocations: 290.8 kB / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.437e-05/0.4556, allocations: 28 kB / 1.267 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.4556, allocations: 83.28 kB / 1.267 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of Backend: time 5.81e-07/0.4556, allocations: 0 / 1.267 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.4562, allocations: 165 kB / 1.267 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005786/0.4568, allocations: 0.6043 MB / 1.268 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.005096/0.4619, allocations: 1.651 MB / 1.27 GB, free: 4.777 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches