Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.008427/0.008428, allocations: 97.42 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 195 kB / 16.67 MB, free: 5.934 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.84 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8383, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004506/0.8428, allocations: 1.471 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.844, allocations: 482.8 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.8441, allocations: 0 / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.8442, allocations: 0 / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.8445, allocations: 23.78 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.8447, allocations: 23.92 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.8448, allocations: 51.73 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.8449, allocations: 7.984 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.8451, allocations: 31.91 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.8452, allocations: 23.92 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8452, allocations: 4 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.8452, allocations: 4 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.8453, allocations: 7.984 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.8453, allocations: 23.86 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.8455, allocations: 38.12 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.8455, allocations: 8 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8455, allocations: 0 / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8455, allocations: 3.938 kB / 1.209 GB, free: 11.36 MB / 0.9356 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.0006685/0.8462, allocations: 347.4 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8462, allocations: 12.03 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.8463, allocations: 30.75 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.8463, allocations: 4.844 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.8465, allocations: 176.3 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.8466, allocations: 4.375 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.8466, allocations: 384 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.8467, allocations: 57.8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8468, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.8468, allocations: 4 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8468, allocations: 0 / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.8469, allocations: 23.94 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.8474, allocations: 272.8 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.8475, allocations: 50.55 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.8476, allocations: 24.88 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.8476, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.8478, allocations: 71.33 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/0.8478, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002963/0.8481, allocations: 81.88 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.8482, allocations: 55.39 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8483, allocations: 109.9 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8483, allocations: 29.69 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.8484, allocations: 84.05 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.8484, allocations: 19.84 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.8485, allocations: 17.72 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8487, allocations: 318.8 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.8487, allocations: 15.94 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.8488, allocations: 11.98 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.8489, allocations: 36.8 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8489, allocations: 0 / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001523/0.849, allocations: 65.59 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8491, allocations: 8 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8491, allocations: 4.312 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8491, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.8492, allocations: 4 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.8492, allocations: 7.938 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.8493, allocations: 3.984 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.8493, allocations: 7.984 kB / 1.211 GB, free: 9.199 MB / 0.9356 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 0.0001104/0.8494, allocations: 113.8 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.8495, allocations: 7.906 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.8495, allocations: 11.97 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8495, allocations: 0 / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8495, allocations: 4 kB / 1.211 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8495, allocations: 3.984 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.8497, allocations: 169.6 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8497, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.8498, allocations: 4 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.8498, allocations: 0 / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.8498, allocations: 256 / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8498, allocations: 11.92 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8498, allocations: 4 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.85, allocations: 101 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.8501, allocations: 81.02 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.8501, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.8502, allocations: 7.984 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.8503, allocations: 4 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.8503, allocations: 0 / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.8504, allocations: 95.27 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8504, allocations: 4 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003328/0.8507, allocations: 8 kB / 1.212 GB, free: 8.477 MB / 0.9356 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.00058/0.8513, allocations: 0.6319 MB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.8515, allocations: 35.98 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8515, allocations: 4 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.8515, allocations: 16 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.8518, allocations: 4 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.8533, allocations: 1.24 MB / 1.214 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.8537, allocations: 0.6846 MB / 1.214 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.8537, allocations: 7.984 kB / 1.214 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.8538, allocations: 11.44 kB / 1.214 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.8538, allocations: 0 / 1.214 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.8728, allocations: 1.542 MB / 1.216 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/8.352, allocations: 11.8 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches