Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_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_9_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.001874/0.001874, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.002285/0.002285, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 70.48 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2569, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001857/0.2588, allocations: 0.617 MB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.2595, allocations: 346.8 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.2596, allocations: 0 / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.2596, allocations: 0 / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.2596, allocations: 7.938 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.26, allocations: 115.7 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.2601, allocations: 19.98 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.2601, allocations: 7.938 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.2602, allocations: 11.92 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.2602, allocations: 23.84 kB / 0.9523 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2603, allocations: 0 / 0.9523 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.2606, allocations: 275.7 kB / 0.9525 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.2606, allocations: 15.98 kB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.2607, allocations: 7.938 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.2609, allocations: 95.77 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2609, allocations: 4 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2609, allocations: 4 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2609, allocations: 0 / 0.9526 GB, free: 6.504 MB / 0.7325 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.000414/0.2613, allocations: 363.3 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2613, allocations: 12.03 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.2614, allocations: 4.844 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.2615, allocations: 172.4 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2615, allocations: 4.375 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.2616, allocations: 4.375 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2617, allocations: 42.25 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2617, allocations: 8.188 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2617, allocations: 3.938 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2617, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.2618, allocations: 23.92 kB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.2619, allocations: 161.7 kB / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.2621, allocations: 66.61 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.2621, allocations: 24.86 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.2627, allocations: 465.5 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2628, allocations: 34.56 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 4.628e-06/0.2628, allocations: 3.984 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001157/0.2639, allocations: 0.5951 MB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.264, allocations: 59.41 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.264, allocations: 97.84 kB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2641, allocations: 29.7 kB / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.2641, allocations: 82.25 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.2641, allocations: 35.45 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.2642, allocations: 25.72 kB / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.2643, allocations: 318.8 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.2643, allocations: 24 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.2644, allocations: 19.98 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.2645, allocations: 52.86 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2645, allocations: 0 / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.2646, allocations: 116.8 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2646, allocations: 5.875 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2647, allocations: 0 / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2647, allocations: 0 / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.2648, allocations: 23.98 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2648, allocations: 0 / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.2648, allocations: 7.938 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2648, allocations: 8 kB / 0.9554 GB, free: 3.258 MB / 0.7325 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 7.099e-05/0.2649, allocations: 119.8 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2649, allocations: 3.938 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.2651, allocations: 106 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2651, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2651, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2651, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.2655, allocations: 366.4 kB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2655, allocations: 0 / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2656, allocations: 19.98 kB / 0.956 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2656, allocations: 4 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2656, allocations: 0 / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2656, allocations: 4 kB / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2656, allocations: 0 / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2659, allocations: 223.6 kB / 0.9562 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.266, allocations: 97.09 kB / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.266, allocations: 0 / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.2661, allocations: 7.984 kB / 0.9563 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.2661, allocations: 8 kB / 0.9563 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.2661, allocations: 4 kB / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.2662, allocations: 83.27 kB / 0.9564 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2662, allocations: 0 / 0.9564 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002587/0.2664, allocations: 40 kB / 0.9565 GB, free: 2.086 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000205/0.2666, allocations: 139.6 kB / 0.9566 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2668, allocations: 75.89 kB / 0.9567 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2668, allocations: 0 / 0.9567 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.2668, allocations: 35.92 kB / 0.9567 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2671, allocations: 4 kB / 0.9567 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2674, allocations: 174 kB / 0.9569 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2676, allocations: 0.6922 MB / 0.9575 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.2677, allocations: 19.91 kB / 0.9576 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2677, allocations: 11.44 kB / 0.9576 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2677, allocations: 0 / 0.9576 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Templates: time 0.003624/0.2714, allocations: 1.407 MB / 0.9589 GB, free: 15.48 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches