Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001512/0.001512, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.311/2.311, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.17 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002373/0.319, allocations: 0.6472 MB / 0.9504 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.3198, allocations: 325 kB / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.3198, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3199, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.036e-05/0.3199, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.3204, allocations: 103.7 kB / 0.9508 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.478e-05/0.3205, allocations: 4 kB / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3206, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.3206, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.3206, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.3206, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.3211, allocations: 275.7 kB / 0.9511 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3211, allocations: 0 / 0.9511 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.3211, allocations: 0 / 0.9511 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3213, allocations: 63.89 kB / 0.9512 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3213, allocations: 0 / 0.9512 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3213, allocations: 0 / 0.9512 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3213, allocations: 0 / 0.9512 GB, free: 7.809 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003647/0.3217, allocations: 335.6 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3217, allocations: 8.031 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.3218, allocations: 0.9375 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3219, allocations: 160.4 kB / 0.9516 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3219, allocations: 4.375 kB / 0.9516 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.3219, allocations: 8.312 kB / 0.9516 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.322, allocations: 30.27 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3221, allocations: 4.125 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3221, allocations: 7.938 kB / 0.9517 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3221, allocations: 3.984 kB / 0.9517 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.3221, allocations: 4 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.3223, allocations: 141.7 kB / 0.9518 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.3223, allocations: 14.58 kB / 0.9518 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.3224, allocations: 12.95 kB / 0.9519 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.3229, allocations: 425.5 kB / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.323, allocations: 34.5 kB / 0.9523 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 3.155e-06/0.323, allocations: 0 / 0.9523 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.3231, allocations: 53.47 kB / 0.9523 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3232, allocations: 51.41 kB / 0.9524 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.714e-05/0.3232, allocations: 89.86 kB / 0.9525 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3233, allocations: 29.7 kB / 0.9525 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3233, allocations: 84.12 kB / 0.9526 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3233, allocations: 0 / 0.9526 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.3234, allocations: 9.719 kB / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3235, allocations: 310.8 kB / 0.9529 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.3235, allocations: 12.12 kB / 0.9529 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.3235, allocations: 0 / 0.9529 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.3236, allocations: 16.78 kB / 0.9529 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3236, allocations: 0 / 0.9529 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.339e-05/0.3236, allocations: 29.7 kB / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3237, allocations: 4 kB / 0.953 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3237, allocations: 4 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3237, allocations: 3.938 kB / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.3237, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3238, allocations: 4.094 kB / 0.953 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.3238, allocations: 0 / 0.953 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3238, allocations: 4 kB / 0.953 GB, free: 5.629 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 (1): * Single equations (assignments): 1 * 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.395e-05/0.3239, allocations: 109.8 kB / 0.9531 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3239, allocations: 0 / 0.9531 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.324, allocations: 48.64 kB / 0.9531 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.324, allocations: 0 / 0.9531 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.324, allocations: 4.031 kB / 0.9531 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.324, allocations: 4 kB / 0.9531 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.3241, allocations: 145.7 kB / 0.9533 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3241, allocations: 0 / 0.9533 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.3241, allocations: 0 / 0.9533 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3242, allocations: 4 kB / 0.9533 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3242, allocations: 3.938 kB / 0.9533 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3242, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3242, allocations: 0 / 0.9533 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.3243, allocations: 69.06 kB / 0.9533 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.3243, allocations: 77.39 kB / 0.9534 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3243, allocations: 11.92 kB / 0.9534 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-06/0.3244, allocations: 0 / 0.9534 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.3244, allocations: 0 / 0.9534 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3244, allocations: 0 / 0.9534 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.3244, allocations: 75.28 kB / 0.9535 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 3.938 kB / 0.9535 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001932/0.3246, allocations: 12 kB / 0.9535 GB, free: 4.969 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002159/0.3248, allocations: 115.3 kB / 0.9536 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.3249, allocations: 4 kB / 0.9536 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3249, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-06/0.325, allocations: 4 kB / 0.9536 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3251, allocations: 3.938 kB / 0.9536 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.3253, allocations: 116.7 kB / 0.9537 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3256, allocations: 0.6768 MB / 0.9544 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.3256, allocations: 7.438 kB / 0.9544 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.3256, allocations: 0 / 0.9544 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.002082/0.3277, allocations: 467.7 kB / 0.9549 GB, free: 3.523 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches