Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001861/0.001861, allocations: 106.9 kB / 16.45 MB, free: 6.035 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.002076/0.002076, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.21/3.21, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 69.27 kB / 1.134 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3793, allocations: 173.9 MB / 1.304 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001775/0.3811, allocations: 0.5797 MB / 1.305 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.3818, allocations: 335.2 kB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.3818, allocations: 0 / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.3818, allocations: 0 / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-06/0.3818, allocations: 0 / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.3822, allocations: 111.7 kB / 1.305 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.658e-05/0.3823, allocations: 0 / 1.305 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.3823, allocations: 4 kB / 1.305 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.3824, allocations: 7.922 kB / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.3824, allocations: 0 / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.3824, allocations: 0 / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.3828, allocations: 275.6 kB / 1.305 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.3828, allocations: 3.938 kB / 1.305 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.3828, allocations: 4 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.383, allocations: 88.02 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.383, allocations: 3.938 kB / 1.305 GB, free: 216 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.383, allocations: 0 / 1.305 GB, free: 216 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.383, allocations: 0 / 1.305 GB, free: 216 kB / 0.9981 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.0004053/0.3834, allocations: 335.3 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3835, allocations: 12.92 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.3835, allocations: 30.75 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3835, allocations: 0.9375 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3837, allocations: 164.4 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.3837, allocations: 384 / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.3837, allocations: 384 / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.3838, allocations: 34.25 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3838, allocations: 7.875 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.3838, allocations: 0 / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.3838, allocations: 0 / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.3838, allocations: 7.938 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.384, allocations: 149.7 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.384, allocations: 18.58 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.384, allocations: 8.953 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/0.3845, allocations: 421.5 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3846, allocations: 38.55 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3846, allocations: 4 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.3847, allocations: 37.58 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3847, allocations: 51.41 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.3848, allocations: 89.86 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3848, allocations: 25.7 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3848, allocations: 84.14 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3849, allocations: 4 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.3849, allocations: 9.719 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.385, allocations: 315 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.385, allocations: 4 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.3851, allocations: 3.984 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.3851, allocations: 8.859 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3851, allocations: 0 / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.908e-05/0.3852, allocations: 41.62 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3852, allocations: 4 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3852, allocations: 8.031 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3852, allocations: 8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-05/0.3852, allocations: 0 / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.3852, allocations: 0 / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.3852, allocations: 3.953 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3852, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 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 8.148e-05/0.3853, allocations: 117.8 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.3853, allocations: 3.938 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.3854, allocations: 48.7 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3854, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3854, allocations: 3.938 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3854, allocations: 4 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3856, allocations: 145.7 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3856, allocations: 0 / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.3856, allocations: 0 / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3856, allocations: 0 / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3856, allocations: 7.938 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3856, allocations: 0 / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3856, allocations: 0 / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.246e-05/0.3857, allocations: 61.16 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.3857, allocations: 81.11 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3857, allocations: 3.938 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.3857, allocations: 0 / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3857, allocations: 0 / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3857, allocations: 0 / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.3858, allocations: 79.22 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 4.031 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001878/0.386, allocations: 15.94 kB / 1.308 GB, free: 13.32 MB / 1.014 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.0004863/0.3864, allocations: 0.6046 MB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.3865, allocations: 4 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3865, allocations: 4.094 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.3865, allocations: 7.938 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.3867, allocations: 2.031 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.387, allocations: 118.5 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3873, allocations: 0.669 MB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.3873, allocations: 4 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3873, allocations: 7.438 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3873, allocations: 64 / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.4108, allocations: 1.194 MB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.467, allocations: 14.12 kB / 1.31 GB, free: 10.71 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.451639463193715]