Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001447/0.001447, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.00144/0.00144, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] 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.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 67.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7404, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002128/0.7426, allocations: 1.5 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005997/0.7432, allocations: 483 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.7432, allocations: 0.6875 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.7432, allocations: 5.547 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.7434, allocations: 21.39 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.886e-05/0.7435, allocations: 18.41 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.7436, allocations: 55.38 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.224e-05/0.7436, allocations: 12.39 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.7437, allocations: 21.11 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.7438, allocations: 24.44 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.7438, allocations: 8.281 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.7438, allocations: 3.719 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.7438, allocations: 8.172 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.7439, allocations: 19.92 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.744, allocations: 49.61 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.744, allocations: 0 / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.744, allocations: 0 / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.744, allocations: 0.75 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003959/0.7444, allocations: 353.1 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.7444, allocations: 9.344 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.496e-05/0.7444, allocations: 36.31 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.7445, allocations: 8.219 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.7445, allocations: 170.3 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.7445, allocations: 6.094 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.7445, allocations: 2.438 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.7446, allocations: 53.73 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7447, allocations: 4 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.7447, allocations: 0.875 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7447, allocations: 1.406 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.7447, allocations: 25.44 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.745, allocations: 275 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.745, allocations: 41.42 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.7451, allocations: 22.81 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.7451, allocations: 4.75 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.7452, allocations: 67.75 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.7452, allocations: 0.8438 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.000187/0.7454, allocations: 78.19 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.7454, allocations: 52.41 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.7455, allocations: 107.4 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.7455, allocations: 31.42 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.7455, allocations: 90.8 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7455, allocations: 26.52 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.7455, allocations: 17.94 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.7456, allocations: 315.9 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.7456, allocations: 11.5 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.7456, allocations: 13.73 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.7457, allocations: 34.98 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7457, allocations: 0 / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.577e-05/0.7458, allocations: 66.72 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7458, allocations: 5.688 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.7458, allocations: 0 / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7458, allocations: 0.7812 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.7458, allocations: 12.05 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7459, allocations: 0.9375 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.7459, allocations: 6.422 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.7459, allocations: 0.9375 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.285e-05/0.746, allocations: 117.7 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.746, allocations: 11.27 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.746, allocations: 9.031 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.746, allocations: 1.094 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.746, allocations: 0 / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.746, allocations: 1.125 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.898e-05/0.7461, allocations: 181.3 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7461, allocations: 0.9062 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.7461, allocations: 7.938 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7461, allocations: 0 / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.7461, allocations: 3.031 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7461, allocations: 4.875 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7461, allocations: 0 / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.7462, allocations: 103.8 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.7462, allocations: 81.31 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7462, allocations: 0.9062 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.7463, allocations: 2 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.7463, allocations: 6.906 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.7463, allocations: 2.219 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.7464, allocations: 98.05 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7464, allocations: 0 / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001756/0.7465, allocations: 12.78 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002451/0.7468, allocations: 0.6332 MB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.7469, allocations: 31.95 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7469, allocations: 4 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.7469, allocations: 15.12 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.747, allocations: 11.38 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.7478, allocations: 1.232 MB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.748, allocations: 0.6806 MB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.748, allocations: 5.344 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.7481, allocations: 13.72 kB / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7481, allocations: 0 / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.7708, allocations: 1.501 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/7.559, allocations: 14.34 kB / 1.28 GB, free: 16.86 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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: 12.867118106999442]