Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_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.001314/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 194.2 kB / 16.14 MB, free: 6.645 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 66.41 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4135, allocations: 157.4 MB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002207/0.4158, allocations: 0.6503 MB / 1.053 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.4166, allocations: 382.7 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.4167, allocations: 0 / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.4167, allocations: 4 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.166e-05/0.4167, allocations: 0 / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.4173, allocations: 75.78 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.4173, allocations: 8 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.4174, allocations: 4 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.4174, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.4175, allocations: 15.91 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4175, allocations: 0 / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.418, allocations: 283.6 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.418, allocations: 0 / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.418, allocations: 4 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4182, allocations: 99.77 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4182, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4182, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4182, allocations: 0 / 1.054 GB, free: 7.285 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004559/0.4187, allocations: 343.5 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4187, allocations: 8.031 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.4188, allocations: 0.9375 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.419, allocations: 172.4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.419, allocations: 384 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.419, allocations: 4.312 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.4191, allocations: 30.27 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4191, allocations: 192 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4191, allocations: 11.92 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.4192, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.4192, allocations: 3.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.4194, allocations: 158 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.4194, allocations: 22.59 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.4195, allocations: 12.86 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.4205, allocations: 453.5 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4206, allocations: 42.55 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.4206, allocations: 3.938 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006651/0.4212, allocations: 254.2 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4213, allocations: 51.62 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.4214, allocations: 101.9 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4214, allocations: 25.7 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.4214, allocations: 80.14 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.4215, allocations: 3.906 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.4215, allocations: 21.7 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4216, allocations: 314.8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.4216, allocations: 8 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.4217, allocations: 17.84 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.4217, allocations: 29.64 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4217, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.4219, allocations: 49.61 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4219, allocations: 11.94 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4219, allocations: 7.922 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4219, allocations: 4.062 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.422, allocations: 8 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.422, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.422, allocations: 3.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.4221, allocations: 3.984 kB / 1.056 GB, free: 4.688 MB / 0.8106 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 8.149e-05/0.4221, allocations: 111.4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.4222, allocations: 3.938 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.4223, allocations: 61.17 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4223, allocations: 3.938 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4223, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4223, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.4225, allocations: 145.7 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4225, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.4225, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.4225, allocations: 3.938 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4226, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4226, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4226, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.4227, allocations: 81.11 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.4228, allocations: 77.34 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4228, allocations: 11.88 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.4229, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.4229, allocations: 8.016 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4229, allocations: 4 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.4229, allocations: 87.27 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4229, allocations: 4 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002773/0.4232, allocations: 20 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002296/0.4235, allocations: 131.2 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.4236, allocations: 12 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4236, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.4236, allocations: 19.92 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.4238, allocations: 2.062 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.424, allocations: 115.4 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.4246, allocations: 0.6731 MB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.4246, allocations: 11.92 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.4246, allocations: 7.438 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of SimCode: time 1.513e-06/0.4246, allocations: 4 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of Templates: time 0.003536/0.4282, allocations: 0.8617 MB / 1.058 GB, free: 2.074 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches