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.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.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.001252/0.001252, allocations: 110 kB / 16.37 MB, free: 6.469 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.001242/0.001242, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.18 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.01/2.01, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 68.5 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2344, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001558/0.236, allocations: 0.5998 MB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005348/0.2366, allocations: 338.8 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.2366, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.2366, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.345e-05/0.2366, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.237, allocations: 107.7 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.2371, allocations: 23.92 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.2371, allocations: 3.984 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.2371, allocations: 4 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.2372, allocations: 3.938 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2372, allocations: 0 / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.2375, allocations: 279.6 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.2376, allocations: 0 / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.2376, allocations: 8 kB / 0.9525 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2377, allocations: 91.78 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2378, allocations: 0 / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.985e-06/0.2378, allocations: 3.984 kB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2378, allocations: 4 kB / 0.9526 GB, free: 6.609 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000291/0.2381, allocations: 343.5 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.2381, allocations: 8.031 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.2382, allocations: 4.938 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.2382, allocations: 160.4 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.2383, allocations: 384 / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.2383, allocations: 4.375 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.2384, allocations: 42.23 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.2384, allocations: 8.125 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2384, allocations: 3.938 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.2384, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.2384, allocations: 7.938 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.2386, allocations: 149.7 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.524e-05/0.2386, allocations: 24.78 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.2386, allocations: 4.859 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.2393, allocations: 465.4 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2393, allocations: 34.56 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.2393, allocations: 4 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004207/0.2397, allocations: 258.1 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2398, allocations: 55.41 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.2398, allocations: 97.84 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2398, allocations: 25.7 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.2399, allocations: 84.14 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.2399, allocations: 4.25 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.2399, allocations: 21.72 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.24, allocations: 310.8 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.24, allocations: 11.98 kB / 0.9546 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.2401, allocations: 13.72 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.2401, allocations: 25.72 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2401, allocations: 11.94 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.359e-05/0.2402, allocations: 53.59 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2402, allocations: 7.938 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2402, allocations: 0 / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2403, allocations: 0 / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.2403, allocations: 12 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2403, allocations: 3.938 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.2403, allocations: 0 / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2403, allocations: 7.984 kB / 0.9547 GB, free: 4.016 MB / 0.7325 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 5.486e-05/0.2404, allocations: 109.9 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2404, allocations: 7.938 kB / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2405, allocations: 53.19 kB / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2406, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2406, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2406, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.949e-05/0.2407, allocations: 153.7 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2407, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/0.2407, allocations: 15.98 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2407, allocations: 3.938 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2407, allocations: 11.88 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2408, allocations: 3.984 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2408, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2409, allocations: 73.25 kB / 0.9551 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2409, allocations: 85.14 kB / 0.9552 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2409, allocations: 7.969 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.241, allocations: 8.047 kB / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.241, allocations: 0 / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.241, allocations: 0 / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.241, allocations: 79.28 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.241, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000189/0.2412, allocations: 24 kB / 0.9553 GB, free: 3.285 MB / 0.7325 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.0001584/0.2414, allocations: 127.2 kB / 0.9554 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.154e-05/0.2415, allocations: 24.02 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2415, allocations: 0 / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/0.2415, allocations: 8 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2416, allocations: 6.188 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.2418, allocations: 109.8 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2421, allocations: 0.6805 MB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.2421, allocations: 8.062 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.2421, allocations: 11.44 kB / 0.9563 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2421, allocations: 0 / 0.9563 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of Templates: time 0.002543/0.2447, allocations: 0.8745 MB / 0.9571 GB, free: 1.387 MB / 0.7325 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 -s cvode -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