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.008632/0.008632, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001593/0.001593, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.32/2.32, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.89 kB / 0.9504 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.824, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001819/0.8259, allocations: 0.5848 MB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000577/0.8265, allocations: 331.3 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.8265, allocations: 0 / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.8265, allocations: 0.6562 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.8265, allocations: 0 / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.827, allocations: 102.4 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.827, allocations: 4.984 kB / 1.088 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.8271, allocations: 2.703 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.8271, allocations: 0 / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.959e-05/0.8271, allocations: 1.125 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.8271, allocations: 3.938 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.8276, allocations: 281 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.8276, allocations: 1.094 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.8277, allocations: 0.5156 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.8278, allocations: 87.31 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8279, allocations: 0.6094 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8279, allocations: 5.188 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8279, allocations: 0 / 1.089 GB, free: 4.531 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.0002412/0.8281, allocations: 334.3 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8282, allocations: 9.688 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.997e-05/0.8282, allocations: 30.75 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.8282, allocations: 1.453 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.812e-05/0.8283, allocations: 163.1 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.8283, allocations: 8.312 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.8283, allocations: 1.781 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.256e-05/0.8284, allocations: 32.31 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8284, allocations: 4.594 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.8284, allocations: 0 / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.8284, allocations: 0.9688 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.8284, allocations: 1.031 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.741e-05/0.8285, allocations: 145.8 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.319e-05/0.8286, allocations: 24.27 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.8286, allocations: 10.62 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.829, allocations: 425.5 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.829, allocations: 35.56 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.093e-06/0.829, allocations: 0 / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.8292, allocations: 36.72 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.665e-05/0.8292, allocations: 56.66 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.397e-05/0.8292, allocations: 90.56 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.8292, allocations: 25.7 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-06/0.8292, allocations: 80.14 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.8293, allocations: 5.859 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.8293, allocations: 15.78 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.8293, allocations: 315.4 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.8293, allocations: 1.656 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.8293, allocations: 5.125 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.8294, allocations: 8.703 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8294, allocations: 0 / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.66e-05/0.8294, allocations: 32.8 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8295, allocations: 5.859 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.8295, allocations: 3.938 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.8295, allocations: 1.312 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.8295, allocations: 6.219 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8295, allocations: 96 / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.8296, allocations: 13.2 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.8296, allocations: 0.9062 kB / 1.091 GB, free: 2.426 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.7e-05/0.8296, allocations: 111.5 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.8296, allocations: 1.75 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.8297, allocations: 39.02 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8297, allocations: 1.625 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8297, allocations: 0 / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8297, allocations: 5.25 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.647e-05/0.8298, allocations: 149.1 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8298, allocations: 4 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.8298, allocations: 2.125 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.8298, allocations: 0 / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8298, allocations: 9.938 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8298, allocations: 3.938 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8298, allocations: 1.25 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.142e-05/0.8299, allocations: 61.42 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.8299, allocations: 78.75 kB / 1.091 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.8299, allocations: 4.594 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.8299, allocations: 1.281 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.83, allocations: 0.75 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.83, allocations: 5.188 kB / 1.091 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.839e-06/0.83, allocations: 75.28 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.83, allocations: 0 / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002151/0.8302, allocations: 9.875 kB / 1.091 GB, free: 1.812 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.0003744/0.8306, allocations: 0.6143 MB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.148e-05/0.8307, allocations: 4.609 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.8307, allocations: 0 / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.8307, allocations: 2.125 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.8308, allocations: 6.906 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.8311, allocations: 109.8 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.8313, allocations: 0.6706 MB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.631e-05/0.8313, allocations: 1.766 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.8313, allocations: 7.438 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8313, allocations: 0.9688 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.8481, allocations: 1.191 MB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/8.132, allocations: 5.547 kB / 1.094 GB, free: 15.99 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