Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001099/0.001099, 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.001378/0.001378, allocations: 195.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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.34 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002032/0.3219, allocations: 0.5981 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000733/0.3227, allocations: 345 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.3227, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3227, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.3228, allocations: 3.938 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.3233, allocations: 118.9 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.036e-05/0.3233, allocations: 11.98 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3234, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.3234, allocations: 8 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.3235, allocations: 7.922 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3235, allocations: 0 / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.324, allocations: 279.6 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.324, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.324, allocations: 8 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3242, allocations: 95.77 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8262 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.0004663/0.3247, allocations: 339.6 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3247, allocations: 12.03 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.3248, allocations: 4.875 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3249, allocations: 164.6 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3249, allocations: 4.375 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.325, allocations: 4.375 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.3251, allocations: 38.25 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3251, allocations: 192 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3251, allocations: 3.938 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3251, allocations: 0 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.3251, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.3253, allocations: 157.6 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.3253, allocations: 26.52 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.3254, allocations: 4.859 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.3262, allocations: 469.5 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3262, allocations: 30.56 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.3262, allocations: 3.984 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005123/0.3267, allocations: 258.3 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3268, allocations: 51.41 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.3268, allocations: 98.06 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3269, allocations: 29.7 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.3269, allocations: 80.14 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3269, allocations: 11.81 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.327, allocations: 13.72 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3271, allocations: 318.8 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.3271, allocations: 4 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.3271, allocations: 21.66 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.3272, allocations: 29.84 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3272, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.803e-05/0.3273, allocations: 53.62 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3273, allocations: 7.938 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3273, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3273, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.3274, allocations: 8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3274, allocations: 8.047 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.3274, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3275, allocations: 4 kB / 1.072 GB, free: 6.398 MB / 0.8262 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 7.094e-05/0.3275, allocations: 109.8 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3276, allocations: 7.938 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3277, allocations: 53.12 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3277, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3277, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3277, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.3278, allocations: 153.7 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3278, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.3279, allocations: 7.984 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3279, allocations: 7.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3279, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3279, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3279, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.3281, allocations: 84.97 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.3281, allocations: 77.11 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3281, allocations: 11.95 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.3282, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3282, allocations: 3.938 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3282, allocations: 4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.3282, allocations: 75.28 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3282, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002194/0.3285, allocations: 28.16 kB / 1.072 GB, free: 5.672 MB / 0.8262 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.0002035/0.3287, allocations: 131.8 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.3288, allocations: 19.98 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3288, allocations: 3.938 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.3288, allocations: 4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.3289, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3292, allocations: 117.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3295, allocations: 0.6807 MB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.3295, allocations: 4.328 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.3295, allocations: 7.438 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3295, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of Templates: time 0.002834/0.3324, allocations: 0.8894 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches