Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 128 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.002033/0.002033, allocations: 195.9 kB / 16.53 MB, free: 6.668 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.566/2.566, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 66.69 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2359, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001528/0.2374, allocations: 0.5842 MB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005766/0.238, allocations: 334.8 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.238, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.2381, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-06/0.2381, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.2385, allocations: 104.8 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.712e-05/0.2385, allocations: 0 / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.2385, allocations: 8 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.042e-05/0.2386, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.539e-05/0.2386, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.2386, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.239, allocations: 275.6 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.239, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.239, allocations: 3.984 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2392, allocations: 87.8 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2392, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2392, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2392, allocations: 0 / 1.065 GB, free: 12.85 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002981/0.2395, allocations: 335.5 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2395, allocations: 16.03 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2396, allocations: 30.75 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2396, allocations: 0.9375 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2397, allocations: 168.4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.2397, allocations: 384 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2397, allocations: 4.359 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/0.2398, allocations: 30.27 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2398, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-06/0.2398, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.2398, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.2398, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.24, allocations: 149.6 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.24, allocations: 18.58 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.24, allocations: 12.94 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.2405, allocations: 425.5 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2406, allocations: 34.56 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2406, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.2407, allocations: 37.58 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2407, allocations: 51.41 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.2408, allocations: 89.86 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2408, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.2408, allocations: 88.27 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2409, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.2409, allocations: 17.7 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.241, allocations: 310.8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.241, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.2411, allocations: 3.938 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/0.2411, allocations: 8.859 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2411, allocations: 4.062 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.2411, allocations: 33.64 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.2412, allocations: 6.031 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2412, allocations: 7.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2412, allocations: 4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.922e-05/0.2412, allocations: 3.984 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.2412, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-06/0.2412, allocations: 288 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2413, allocations: 4 kB / 1.067 GB, free: 10.62 MB / 0.8262 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 7.129e-05/0.2413, allocations: 113.9 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.2414, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.2414, allocations: 44.69 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2414, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2414, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2415, allocations: 4 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.2416, allocations: 153.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2416, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.2416, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2416, allocations: 4.031 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2416, allocations: 7.938 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2416, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2416, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.098e-05/0.2417, allocations: 53.12 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.2417, allocations: 81.11 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.2417, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.2418, allocations: 7.969 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-06/0.2418, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2418, allocations: 3.984 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.2418, allocations: 77.12 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2418, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001745/0.242, allocations: 12 kB / 1.068 GB, free: 9.969 MB / 0.8262 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.0004143/0.2424, allocations: 0.6124 MB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.511e-05/0.2425, allocations: 4 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2425, allocations: 3.938 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.2425, allocations: 4 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.2426, allocations: 3.938 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.2429, allocations: 122.6 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2431, allocations: 0.6691 MB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.2432, allocations: 8 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.2432, allocations: 7.438 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2432, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.038/2.281, allocations: 1.163 MB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/17.46, allocations: 11.48 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y