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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001603/0.001603, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.482/2.482, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.931/0.9325, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001933/0.9345, allocations: 0.651 MB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.9351, allocations: 332 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.9351, allocations: 0 / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.9351, allocations: 4 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.9352, allocations: 1.094 kB / 0.9501 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.9357, allocations: 104.4 kB / 0.9502 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.9357, allocations: 5.375 kB / 0.9502 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.9358, allocations: 5.578 kB / 0.9502 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.9358, allocations: 1.469 kB / 0.9502 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.9358, allocations: 10.77 kB / 0.9502 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.9359, allocations: 0 / 0.9502 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.9362, allocations: 275.7 kB / 0.9505 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.9363, allocations: 7.938 kB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.9363, allocations: 2.406 kB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.9365, allocations: 92.89 kB / 0.9506 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9365, allocations: 3.938 kB / 0.9506 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9365, allocations: 0 / 0.9506 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9365, allocations: 3.938 kB / 0.9506 GB, free: 8.113 MB / 0.7169 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.0003397/0.9368, allocations: 343.7 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9369, allocations: 9.312 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.937, allocations: 6.5 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.9371, allocations: 165.7 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9371, allocations: 384 / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.9371, allocations: 1.969 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.9372, allocations: 34.27 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.9372, allocations: 1.594 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.9372, allocations: 3.938 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.9373, allocations: 3.938 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.9373, allocations: 2.812 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.9374, allocations: 162.4 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.9375, allocations: 24.22 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.9375, allocations: 6.203 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.9382, allocations: 464.8 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.9383, allocations: 36.53 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.9383, allocations: 0 / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005062/0.9388, allocations: 254.7 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.9388, allocations: 55.62 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.9389, allocations: 96.61 kB / 0.9522 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.9389, allocations: 27.05 kB / 0.9522 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.9389, allocations: 80.14 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.9389, allocations: 14.12 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.939, allocations: 16.58 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.939, allocations: 312.1 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.939, allocations: 11.84 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.9391, allocations: 22.06 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.9391, allocations: 27.83 kB / 0.9526 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.9391, allocations: 0 / 0.9526 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.578e-05/0.9392, allocations: 54.23 kB / 0.9527 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9392, allocations: 12.12 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.9393, allocations: 1.25 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9393, allocations: 9.453 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.9393, allocations: 5.469 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.9393, allocations: 1.375 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.9394, allocations: 0 / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.9394, allocations: 2.75 kB / 0.9527 GB, free: 5.699 MB / 0.7169 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.542e-05/0.9394, allocations: 107.2 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.9395, allocations: 9.219 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.9396, allocations: 69.47 kB / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.9396, allocations: 0 / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9396, allocations: 1.375 kB / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9396, allocations: 0 / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.717e-05/0.9397, allocations: 153.8 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9397, allocations: 0 / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.9398, allocations: 4.125 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9398, allocations: 9.25 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.9398, allocations: 0 / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9398, allocations: 1.375 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9398, allocations: 4 kB / 0.9531 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.9399, allocations: 82.92 kB / 0.9531 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.94, allocations: 77.11 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.94, allocations: 5.312 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.94, allocations: 1.375 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.94, allocations: 1.031 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.94, allocations: 1.125 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.9401, allocations: 85.55 kB / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9401, allocations: 0 / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002145/0.9403, allocations: 22.81 kB / 0.9533 GB, free: 5.039 MB / 0.7169 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.0002049/0.9405, allocations: 131 kB / 0.9535 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.9406, allocations: 19.56 kB / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9406, allocations: 0 / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/0.9406, allocations: 10.2 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.9408, allocations: 2.766 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.941, allocations: 124.8 kB / 0.9536 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.9412, allocations: 0.6761 MB / 0.9543 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.9412, allocations: 11.31 kB / 0.9543 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.9412, allocations: 8.812 kB / 0.9543 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9412, allocations: 1.531 kB / 0.9543 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.003213/0.9445, allocations: 0.8734 MB / 0.9551 GB, free: 3.637 MB / 0.7169 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/jenkins/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