Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.005346/0.005346, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001197/0.001198, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.86 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7622, allocations: 140.4 MB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001544/0.7637, allocations: 0.573 MB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.7643, allocations: 329.7 kB / 1.088 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.7644, allocations: 5.25 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.7644, allocations: 0 / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.7644, allocations: 0 / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.7648, allocations: 105.3 kB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.7649, allocations: 5.953 kB / 1.088 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.7649, allocations: 1.609 kB / 1.088 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.7649, allocations: 0.875 kB / 1.088 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.861e-05/0.7649, allocations: 1.125 kB / 1.088 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.765, allocations: 4 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.7654, allocations: 277.2 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.7654, allocations: 1.281 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.7654, allocations: 0 / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.7656, allocations: 91.47 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7656, allocations: 1.188 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7656, allocations: 0 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7656, allocations: 0 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002193/0.7658, allocations: 331.8 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7659, allocations: 10.45 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.7659, allocations: 38.75 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.766, allocations: 2.891 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.342e-05/0.766, allocations: 160.9 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.766, allocations: 2.234 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.7661, allocations: 384 / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.071e-05/0.7661, allocations: 29.3 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.7661, allocations: 3.938 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.7662, allocations: 0.7969 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.7662, allocations: 0 / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.7662, allocations: 6.156 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.479e-05/0.7663, allocations: 152.7 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.77e-05/0.7663, allocations: 16.83 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.7663, allocations: 6.688 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.7667, allocations: 433 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.7667, allocations: 31.66 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.7667, allocations: 0 / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.7669, allocations: 40.42 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.7669, allocations: 52.5 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.394e-05/0.7669, allocations: 90.47 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.7669, allocations: 30.73 kB / 1.09 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-06/0.7669, allocations: 80.14 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.767, allocations: 8.734 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.767, allocations: 12.61 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.767, allocations: 312.6 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.7671, allocations: 0.9688 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.7671, allocations: 1.953 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.7671, allocations: 6.922 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.7671, allocations: 1.094 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.507e-05/0.7672, allocations: 44.62 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.7672, allocations: 4.562 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7672, allocations: 5.594 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.7672, allocations: 0 / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-05/0.7672, allocations: 2.781 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.7673, allocations: 0 / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.7673, allocations: 1.609 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.7673, allocations: 0 / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 3.649e-05/0.7673, allocations: 108.3 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.7673, allocations: 5.531 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.7674, allocations: 45.48 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.7674, allocations: 1.125 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7674, allocations: 0.7969 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7674, allocations: 1.094 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.577e-05/0.7675, allocations: 152 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7675, allocations: 0.6094 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.7675, allocations: 2.25 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7675, allocations: 0.7969 kB / 1.091 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.7675, allocations: 9.094 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7675, allocations: 3.938 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7675, allocations: 0 / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.958e-05/0.7676, allocations: 65.95 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.7676, allocations: 78.72 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.7676, allocations: 4.5 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.7677, allocations: 1.125 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.7677, allocations: 5.672 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.7677, allocations: 0.5156 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.7677, allocations: 75.28 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7677, allocations: 5.375 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002042/0.7679, allocations: 8.781 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0004295/0.7683, allocations: 0.6107 MB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.015e-05/0.7684, allocations: 8.594 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7684, allocations: 0 / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.7684, allocations: 6.625 kB / 1.092 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.7686, allocations: 1.188 kB / 1.092 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.7688, allocations: 114.1 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.7691, allocations: 0.6713 MB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.7691, allocations: 5.219 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.7691, allocations: 8.562 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7691, allocations: 0 / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.7843, allocations: 1.18 MB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/8.235, allocations: 11.05 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches