Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 189.3 kB / 22.23 MB, free: 5.133 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck")
translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 65.97 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001804/0.3198, allocations: 0.6119 MB / 1.308 GB, free: 1.145 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007279/0.3205, allocations: 355.1 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.3205, allocations: 0 / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3206, allocations: 4 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 1.898e-05/0.3206, allocations: 3.938 kB / 1.308 GB, free: 0.7891 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.321, allocations: 107.7 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.3211, allocations: 4 kB / 1.308 GB, free: 0.6797 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3211, allocations: 11.97 kB / 1.308 GB, free: 0.668 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.3211, allocations: 4 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.3212, allocations: 7.938 kB / 1.308 GB, free: 0.6562 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3212, allocations: 0 / 1.308 GB, free: 0.6562 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3216, allocations: 275.7 kB / 1.309 GB, free: 396 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3216, allocations: 3.984 kB / 1.309 GB, free: 392 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.3217, allocations: 11.94 kB / 1.309 GB, free: 380 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3219, allocations: 95.66 kB / 1.309 GB, free: 284 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3219, allocations: 0 / 1.309 GB, free: 284 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.273e-06/0.3219, allocations: 0 / 1.309 GB, free: 284 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.589e-06/0.3219, allocations: 0 / 1.309 GB, free: 284 kB / 0.9981 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.0003981/0.3223, allocations: 262.3 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3223, allocations: 8.031 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.3223, allocations: 8.875 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3225, allocations: 110.5 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.3225, allocations: 384 / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3225, allocations: 4.375 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.3226, allocations: 34.27 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3226, allocations: 192 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3226, allocations: 3.938 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3226, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.3226, allocations: 11.92 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.3228, allocations: 124.8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.3228, allocations: 22.59 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.3228, allocations: 4.859 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.3234, allocations: 83.98 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3234, allocations: 30.56 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3234, allocations: 0 / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0004997/0.3239, allocations: 173.2 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.324, allocations: 63.61 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.3241, allocations: 93.86 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3241, allocations: 25.7 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.3241, allocations: 84.14 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3242, allocations: 15.84 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.3242, allocations: 17.66 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001387/0.3243, allocations: 326.8 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.3243, allocations: 4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.3244, allocations: 17.84 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.3244, allocations: 33.7 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3244, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001044/0.3245, allocations: 49.78 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3245, allocations: 7.938 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3245, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3246, allocations: 8.047 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.3246, allocations: 11.98 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3246, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.3247, allocations: 4 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3247, allocations: 4 kB / 1.31 GB, free: 14.44 MB / 1.014 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 8.085e-05/0.3247, allocations: 109.8 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3248, allocations: 11.94 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.3249, allocations: 61.3 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3249, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3249, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3249, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.325, allocations: 128.7 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.325, allocations: 0 / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.3251, allocations: 4 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3251, allocations: 3.938 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3251, allocations: 4 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3251, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3251, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3252, allocations: 85.02 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.3253, allocations: 8.016 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3253, allocations: 3.938 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.3253, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.3253, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3253, allocations: 4 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.26e-05/0.3254, allocations: 75.28 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3254, allocations: 4.156 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002294/0.3256, allocations: 31.92 kB / 1.311 GB, free: 13.83 MB / 1.014 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.0002062/0.3258, allocations: 127.8 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.928e-05/0.3259, allocations: 19.94 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3259, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.3259, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3261, allocations: 8.922 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.3263, allocations: 117.5 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3266, allocations: 0.6729 MB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.953e-05/0.3266, allocations: 4 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.3267, allocations: 11.42 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.3267, allocations: 0 / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of Templates: time 0.003572/0.3302, allocations: 0.8977 MB / 1.313 GB, free: 11.91 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.785607798956335]