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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 106.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.89 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.893, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001917/0.8949, allocations: 0.5788 MB / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.8956, allocations: 324.7 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.8956, allocations: 0 / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.8956, allocations: 0 / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.8956, allocations: 4 kB / 1.27 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.896, allocations: 123.1 kB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.8961, allocations: 4 kB / 1.27 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.8961, allocations: 0 / 1.27 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.8961, allocations: 3.984 kB / 1.27 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.8962, allocations: 4 kB / 1.27 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/0.8963, allocations: 4 kB / 1.27 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.8967, allocations: 271.6 kB / 1.27 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.8967, allocations: 0 / 1.27 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.8967, allocations: 4 kB / 1.27 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.8969, allocations: 81.62 kB / 1.27 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8969, allocations: 4 kB / 1.27 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8969, allocations: 4 kB / 1.27 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8969, allocations: 0 / 1.27 GB, free: 3.797 MB / 0.9669 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.000397/0.8973, allocations: 339.3 kB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.8973, allocations: 8.031 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.8973, allocations: 34.69 kB / 1.271 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.8974, allocations: 4.938 kB / 1.271 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.8975, allocations: 160.4 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.8976, allocations: 4.375 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.8976, allocations: 384 / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.485e-05/0.8977, allocations: 38.19 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.8977, allocations: 3.938 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.8977, allocations: 4 kB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.8977, allocations: 0 / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.8977, allocations: 3.938 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.8978, allocations: 149.7 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.8979, allocations: 18.61 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.8979, allocations: 8.859 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.8985, allocations: 429.5 kB / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.8985, allocations: 30.56 kB / 1.271 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8985, allocations: 3.938 kB / 1.271 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.8986, allocations: 41.73 kB / 1.271 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.8987, allocations: 55.44 kB / 1.271 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.8987, allocations: 89.86 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.8987, allocations: 25.7 kB / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.8988, allocations: 80.14 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.8988, allocations: 3.938 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.8988, allocations: 13.72 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.899, allocations: 314.8 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.899, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.899, allocations: 4 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.899, allocations: 16.8 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.899, allocations: 0 / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.94e-05/0.8991, allocations: 33.7 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8991, allocations: 4 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8991, allocations: 3.938 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8991, allocations: 0 / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.58e-05/0.8991, allocations: 3.984 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8992, allocations: 12.08 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.8992, allocations: 3.938 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.8992, allocations: 0 / 1.272 GB, free: 1.562 MB / 0.9669 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.896e-05/0.8992, allocations: 105.8 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.8993, allocations: 0 / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.8994, allocations: 48.7 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.8994, allocations: 3.984 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8994, allocations: 0 / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8994, allocations: 4.031 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.8995, allocations: 141.7 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8995, allocations: 0 / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.8995, allocations: 4 kB / 1.272 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8995, allocations: 0 / 1.272 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.8995, allocations: 3.938 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8995, allocations: 0 / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8995, allocations: 0 / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.146e-05/0.8996, allocations: 73.05 kB / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.8996, allocations: 77.11 kB / 1.272 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.8997, allocations: 11.88 kB / 1.272 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.8997, allocations: 0 / 1.272 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.8997, allocations: 4 kB / 1.272 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.8997, allocations: 0 / 1.272 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.8997, allocations: 79.27 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8997, allocations: 0 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001897/0.8999, allocations: 8 kB / 1.273 GB, free: 0.9062 MB / 0.9669 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.0004802/0.9004, allocations: 0.6129 MB / 1.273 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.9005, allocations: 11.94 kB / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9005, allocations: 0 / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-06/0.9005, allocations: 0 / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.9006, allocations: 4.156 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.901, allocations: 118.6 kB / 1.273 GB, free: 92 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.9014, allocations: 0.669 MB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.606e-05/0.9014, allocations: 0 / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.9014, allocations: 7.438 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.9014, allocations: 0 / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.9258, allocations: 1.198 MB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.055, allocations: 10.81 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0008 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.239041776861995]