Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001307/0.001307, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001611/1.03, allocations: 0.5973 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006449/1.03, allocations: 347.9 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/1.03, allocations: 1.125 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/1.03, allocations: 0 / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.023e-05/1.03, allocations: 4 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/1.031, allocations: 112 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/1.031, allocations: 11.05 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/1.031, allocations: 2.266 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/1.031, allocations: 6.781 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/1.031, allocations: 3.469 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/1.031, allocations: 1.125 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/1.032, allocations: 276.6 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/1.032, allocations: 5.812 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/1.032, allocations: 10.61 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/1.032, allocations: 90.64 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.032, allocations: 1.125 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/1.032, allocations: 0 / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/1.032, allocations: 0 / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003101/1.032, allocations: 332.1 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.032, allocations: 9.188 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/1.032, allocations: 6.547 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/1.032, allocations: 170.6 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/1.032, allocations: 1.5 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/1.032, allocations: 1.438 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/1.033, allocations: 37.41 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/1.033, allocations: 192 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.033, allocations: 9.141 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.033, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/1.033, allocations: 3.094 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/1.033, allocations: 155.6 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/1.033, allocations: 28.08 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/1.033, allocations: 7.781 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/1.033, allocations: 459.5 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/1.033, allocations: 31.66 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.034, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004864/1.034, allocations: 263.8 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/1.034, allocations: 52.75 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/1.034, allocations: 97.8 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/1.034, allocations: 30.48 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/1.034, allocations: 82 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/1.034, allocations: 9.672 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/1.034, allocations: 17.52 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/1.034, allocations: 313.1 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/1.034, allocations: 4.391 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/1.034, allocations: 24.45 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/1.034, allocations: 28.56 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/1.034, allocations: 0 / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.684e-05/1.034, allocations: 52.12 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.034, allocations: 6.109 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.034, allocations: 4.531 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.034, allocations: 4.844 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/1.035, allocations: 8.172 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.035, allocations: 0.6875 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/1.035, allocations: 4.812 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/1.035, allocations: 6.109 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.569e-05/1.035, allocations: 107.5 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/1.035, allocations: 7.25 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.035, allocations: 61.95 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.035, allocations: 4.734 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.035, allocations: 0.7188 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/1.035, allocations: 82.53 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/1.035, allocations: 1.344 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/1.035, allocations: 1.609 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/1.035, allocations: 6.062 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001232/1.035, allocations: 123 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001539/1.035, allocations: 238.7 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.37e-05/1.035, allocations: 6.078 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.729e-05/1.035, allocations: 81.39 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/1.035, allocations: 1.188 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004737/1.036, allocations: 132.5 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000363/1.036, allocations: 0.5518 MB / 1.094 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.004291/1.04, allocations: 1.265 MB / 1.095 GB, free: 16.94 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches