Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008875/0.0008875, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.903/0.903, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.7/1.7, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.175e-05, allocations: 2.281 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001847/0.001868, allocations: 1.494 MB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000583/0.002451, allocations: 482.7 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.002487, allocations: 4 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.002513, allocations: 3.938 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.002719, allocations: 27.84 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.628e-05/0.002785, allocations: 11.98 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.002865, allocations: 63.77 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.002952, allocations: 4 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.003112, allocations: 47.78 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.003183, allocations: 27.89 kB / 0.9831 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003199, allocations: 8 kB / 0.9831 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.003208, allocations: 4 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.003224, allocations: 4 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.00327, allocations: 19.92 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.713e-05/0.003358, allocations: 47.86 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003359, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00336, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.003364, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004125/0.003777, allocations: 286.2 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.003814, allocations: 8.031 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.003839, allocations: 34.75 kB / 0.9835 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.003879, allocations: 8.938 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.003962, allocations: 117.7 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.003974, allocations: 4.375 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.003983, allocations: 4.375 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.004073, allocations: 62.16 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00408, allocations: 192 / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004089, allocations: 8.125 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004092, allocations: 7.875 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.395e-05/0.004136, allocations: 19.98 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.004465, allocations: 244 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.004559, allocations: 58.44 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.004587, allocations: 16.98 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.004596, allocations: 0 / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.004724, allocations: 63.39 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.004725, allocations: 4 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0001693/0.004894, allocations: 81.67 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.004928, allocations: 55.34 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.004992, allocations: 117.8 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005005, allocations: 29.7 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.005039, allocations: 92.12 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.00506, allocations: 19.84 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.005088, allocations: 17.72 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.005166, allocations: 322.8 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.005192, allocations: 12 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.005213, allocations: 16.3 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.005265, allocations: 41.06 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005268, allocations: 3.938 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.09e-05/0.005348, allocations: 81.58 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00536, allocations: 4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005364, allocations: 4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.005374, allocations: 4 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.005429, allocations: 11.97 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005433, allocations: 4 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.005467, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.005474, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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 5.746e-05/0.005532, allocations: 117.8 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.005539, allocations: 3.953 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.005558, allocations: 12.42 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00556, allocations: 4 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.005564, allocations: 4.25 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005566, allocations: 0 / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.706e-05/0.005643, allocations: 144.7 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005644, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.005657, allocations: 11.88 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005659, allocations: 3.938 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.005666, allocations: 3.984 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005666, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005667, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.005756, allocations: 101.1 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.005766, allocations: 3.953 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.00578, allocations: 11.98 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.005805, allocations: 0 / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.005833, allocations: 7.984 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.005836, allocations: 0 / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.005869, allocations: 91.28 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005869, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001231/0.005992, allocations: 8 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002476/0.00624, allocations: 0.6441 MB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.851e-05/0.006329, allocations: 39.98 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.006331, allocations: 8 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.006361, allocations: 19.92 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.00647, allocations: 6.578 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.007271, allocations: 1.257 MB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.00731, allocations: 67.34 kB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.007335, allocations: 7.984 kB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.007374, allocations: 12.5 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.007375, allocations: 0 / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.02147, allocations: 2.247 MB / 0.9896 GB, free: 9.469 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.869, allocations: 15.48 kB / 0.9897 GB, free: 9.461 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.77681699860841]