Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_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.007887/0.007887, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001895/0.001895, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.384/2.384, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.19 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 140.4 MB / 1.088 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001992/0.249, allocations: 0.592 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007194/0.2497, allocations: 343.1 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.2498, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.2498, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.43e-05/0.2499, allocations: 3.938 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.2504, allocations: 111.7 kB / 1.089 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.2505, allocations: 4 kB / 1.089 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.2505, allocations: 15.98 kB / 1.089 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.2506, allocations: 0 / 1.089 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.2506, allocations: 7.938 kB / 1.089 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2507, allocations: 0 / 1.089 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2511, allocations: 279.6 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2511, allocations: 0 / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.2511, allocations: 4 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2513, allocations: 91.78 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2513, allocations: 0 / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2513, allocations: 4 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2514, allocations: 0 / 1.089 GB, free: 0.6016 MB / 0.8419 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.0004129/0.2518, allocations: 339.6 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2518, allocations: 11.97 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.2519, allocations: 30.75 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.2519, allocations: 8.938 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2521, allocations: 167.2 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2521, allocations: 384 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2521, allocations: 4.375 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2522, allocations: 38.25 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2523, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2523, allocations: 3.984 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2523, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.2523, allocations: 4 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.2525, allocations: 153.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.2526, allocations: 30.55 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.2526, allocations: 8.859 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/0.2533, allocations: 465.4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.2534, allocations: 38.56 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2534, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004799/0.2539, allocations: 250.3 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.2539, allocations: 55.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.254, allocations: 93.84 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.254, allocations: 29.7 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.254, allocations: 88.48 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.254, allocations: 7.812 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.2541, allocations: 17.72 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.2542, allocations: 314.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.2542, allocations: 7.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.2542, allocations: 17.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.2543, allocations: 29.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2543, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.915e-05/0.2544, allocations: 53.62 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2544, allocations: 7.938 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2544, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2545, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.2545, allocations: 11.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2545, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.2546, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2546, allocations: 12.06 kB / 1.091 GB, free: 13.96 MB / 0.8575 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.177e-05/0.2546, allocations: 108.4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2547, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.2548, allocations: 53.12 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2548, allocations: 3.984 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.255, allocations: 153.7 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.255, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.255, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.255, allocations: 3.938 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.255, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2551, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2551, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2552, allocations: 81 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.2553, allocations: 92.88 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2553, allocations: 8.328 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.2553, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.2553, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2554, allocations: 7.984 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.2554, allocations: 75.28 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2554, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002224/0.2556, allocations: 27.98 kB / 1.092 GB, free: 13.23 MB / 0.8575 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.0005049/0.2561, allocations: 0.6442 MB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.2562, allocations: 16 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2562, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.2563, allocations: 11.98 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.2564, allocations: 4.281 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.2573, allocations: 1.143 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2576, allocations: 0.6768 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.2576, allocations: 4 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.2576, allocations: 17.5 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2576, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.2764, allocations: 1.738 MB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.827, allocations: 21.66 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches