Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007416/0.007416, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.002019/0.002019, allocations: 195.9 kB / 16.67 MB, free: 6.355 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3121, allocations: 151.6 MB / 1.166 GB, free: 7.207 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001806/0.3139, allocations: 0.5922 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.3146, allocations: 343.1 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.3147, allocations: 3.938 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.3147, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.3147, allocations: 3.938 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.3152, allocations: 111.1 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.951e-05/0.3152, allocations: 19.94 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.3153, allocations: 4 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3153, allocations: 7.984 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.3154, allocations: 3.984 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3154, allocations: 0 / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.3158, allocations: 271.7 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3158, allocations: 3.984 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.3158, allocations: 11.94 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.316, allocations: 95.94 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.316, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.316, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3161, allocations: 4 kB / 1.168 GB, free: 5.75 MB / 0.92 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.0005046/0.3166, allocations: 351.2 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3166, allocations: 12.03 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.3167, allocations: 30.75 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3168, allocations: 4.938 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3169, allocations: 160.4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3169, allocations: 4.375 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.317, allocations: 4.359 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3171, allocations: 42.25 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3171, allocations: 3.938 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.3171, allocations: 7.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.3174, allocations: 157.6 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.3174, allocations: 18.58 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.3175, allocations: 4.859 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/0.3182, allocations: 465.5 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3183, allocations: 30.56 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3183, allocations: 4 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005202/0.3188, allocations: 254.3 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3188, allocations: 51.41 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.3189, allocations: 97.86 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3189, allocations: 25.7 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.319, allocations: 88.41 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.319, allocations: 15.91 kB / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.3191, allocations: 13.72 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3192, allocations: 318.8 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.3192, allocations: 7.984 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.3193, allocations: 17.72 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.3193, allocations: 25.72 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3193, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.3194, allocations: 57.62 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3195, allocations: 9.5 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3195, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3195, allocations: 3.938 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.3196, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3196, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.3196, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3196, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 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 9.35e-05/0.3197, allocations: 117.9 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3197, allocations: 7.875 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.3199, allocations: 53.19 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3199, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3199, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3199, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3201, allocations: 153.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3201, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3202, allocations: 11.98 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3202, allocations: 3.938 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.3203, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3203, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3203, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3204, allocations: 81.28 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3205, allocations: 89.03 kB / 1.17 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3205, allocations: 64 / 1.17 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.3206, allocations: 7.984 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.3206, allocations: 4 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3206, allocations: 0 / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.3206, allocations: 75.28 kB / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3206, allocations: 0 / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002212/0.3209, allocations: 27.94 kB / 1.17 GB, free: 2.383 MB / 0.92 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.0006719/0.3215, allocations: 0.6553 MB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.3216, allocations: 12 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3217, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.3217, allocations: 7.984 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3218, allocations: 3.938 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3231, allocations: 1.135 MB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3235, allocations: 0.6729 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.3235, allocations: 7.984 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.3236, allocations: 7.438 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3236, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3506, allocations: 1.743 MB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.502, allocations: 8.219 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches