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.001346/0.001346, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001673, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.282/2.282, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.7808, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002293/0.7831, allocations: 0.5915 MB / 0.9502 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.7839, allocations: 344.3 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.784, allocations: 0 / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.784, allocations: 1 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.784, allocations: 3.938 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.7846, allocations: 119.5 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.7847, allocations: 9.375 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.7847, allocations: 1.625 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.7848, allocations: 7.25 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.7848, allocations: 5.578 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.7849, allocations: 0 / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.7853, allocations: 271.9 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.7853, allocations: 7.922 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.7854, allocations: 1.312 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.7856, allocations: 93.12 kB / 0.951 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7856, allocations: 0 / 0.951 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.409e-06/0.7856, allocations: 1.312 kB / 0.951 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.7856, allocations: 7.875 kB / 0.951 GB, free: 8.191 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.0003974/0.786, allocations: 343.2 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7861, allocations: 9.219 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.7861, allocations: 1.844 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.7863, allocations: 165.4 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.7863, allocations: 9.438 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.7863, allocations: 1.406 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.7864, allocations: 30.61 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7865, allocations: 192 / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7865, allocations: 8.969 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.7865, allocations: 0 / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.7865, allocations: 6.141 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.7867, allocations: 156.1 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.7868, allocations: 30.81 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.7868, allocations: 6.516 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/0.7875, allocations: 457.2 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.7876, allocations: 35.7 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7876, allocations: 0 / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006161/0.7882, allocations: 263.9 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.7883, allocations: 51.41 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.7883, allocations: 93.39 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7883, allocations: 25.7 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.7884, allocations: 84.14 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.7884, allocations: 9.938 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.7884, allocations: 21.86 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.7885, allocations: 316.2 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.7885, allocations: 2.656 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.7886, allocations: 26.83 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.7886, allocations: 23.34 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.7886, allocations: 0 / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.413e-05/0.7887, allocations: 53.42 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7887, allocations: 18.11 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7888, allocations: 1.344 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-05/0.7888, allocations: 1.312 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.7889, allocations: 5.562 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7889, allocations: 1.406 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.7889, allocations: 0 / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.7889, allocations: 1.406 kB / 0.9532 GB, free: 5.785 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 6.398e-05/0.789, allocations: 112.2 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.789, allocations: 13.34 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.7892, allocations: 57.98 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7892, allocations: 0 / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7892, allocations: 3.938 kB / 0.9533 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7892, allocations: 1.5 kB / 0.9533 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.913e-05/0.7893, allocations: 152.5 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7893, allocations: 0 / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.7894, allocations: 5.75 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.7894, allocations: 8.125 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.7894, allocations: 1.344 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7894, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7894, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.7896, allocations: 86.72 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.7896, allocations: 78.61 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.7896, allocations: 3.938 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.7897, allocations: 1.375 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.7897, allocations: 5.469 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7897, allocations: 9.656 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.7897, allocations: 80.77 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7897, allocations: 0 / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000233/0.79, allocations: 22.62 kB / 0.9538 GB, free: 5.117 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.0002653/0.7902, allocations: 123.2 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.7904, allocations: 19.81 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7904, allocations: 4.219 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.7904, allocations: 9.953 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.7906, allocations: 6.312 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.7908, allocations: 121.5 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.791, allocations: 0.6805 MB / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.791, allocations: 6.703 kB / 0.9547 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.791, allocations: 13.59 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.791, allocations: 0 / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.003241/0.7943, allocations: 0.868 MB / 0.9556 GB, free: 3.715 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