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.001498/0.001498, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.001709, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.81 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3232, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001697/0.325, allocations: 0.5894 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.3257, allocations: 352.9 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.832e-05/0.3257, allocations: 4 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3262, allocations: 115.6 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.3262, allocations: 11.98 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3263, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.3263, allocations: 7.984 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.3264, allocations: 7.922 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3264, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.3268, allocations: 275.7 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3268, allocations: 4 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.3268, allocations: 8 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.327, allocations: 95.77 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.327, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.327, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.327, allocations: 0 / 1.07 GB, free: 8.93 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.0003253/0.3273, allocations: 335.6 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3274, allocations: 12.03 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.3274, allocations: 4.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3276, allocations: 172.6 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.3276, allocations: 4.375 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3276, allocations: 384 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.3277, allocations: 38.14 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.3277, allocations: 192 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3277, allocations: 3.938 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3277, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.3278, allocations: 4 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.3279, allocations: 157.6 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.328, allocations: 30.56 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.328, allocations: 8.797 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.3287, allocations: 461.5 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3287, allocations: 30.56 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3288, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005152/0.3293, allocations: 254.3 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3293, allocations: 55.39 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.3294, allocations: 98.08 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3294, allocations: 29.7 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.3294, allocations: 80.14 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3295, allocations: 7.812 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3295, allocations: 21.7 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.3296, allocations: 310.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3296, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.3297, allocations: 25.84 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.3297, allocations: 29.64 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3297, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.648e-05/0.3298, allocations: 45.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3298, allocations: 7.938 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3298, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3299, allocations: 7.938 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3299, allocations: 12.05 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3299, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.33, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.33, allocations: 8 kB / 1.072 GB, free: 6.34 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 6.333e-05/0.33, allocations: 107.6 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3301, allocations: 7.938 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3302, allocations: 53.17 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3302, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3302, allocations: 3.938 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3302, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3303, allocations: 157.6 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3303, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.3304, allocations: 8.188 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3304, allocations: 3.938 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3304, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3304, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3304, allocations: 7.922 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.3306, allocations: 85.02 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.3306, allocations: 81.14 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3306, allocations: 3.938 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.3307, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.3307, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3307, allocations: 4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.3308, allocations: 79.22 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3308, allocations: 160 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002134/0.331, allocations: 31.98 kB / 1.072 GB, free: 5.605 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.0002001/0.3312, allocations: 127.8 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.227e-05/0.3313, allocations: 16 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.3313, allocations: 11.92 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3315, allocations: 8 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.3317, allocations: 126 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.332, allocations: 0.6729 MB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.332, allocations: 7.984 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.332, allocations: 7.438 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.332, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of Templates: time 0.003125/0.3352, allocations: 0.8699 MB / 1.074 GB, free: 3.711 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