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.007316/0.007316, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001666/0.001666, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2578, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002196/0.2601, allocations: 1.464 MB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.2607, allocations: 475.1 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.2608, allocations: 0 / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.2608, allocations: 11.86 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.261, allocations: 27.84 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.586e-05/0.2611, allocations: 15.98 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.2612, allocations: 55.73 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.2613, allocations: 11.98 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.2614, allocations: 19.92 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.2615, allocations: 27.91 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2615, allocations: 4 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.2615, allocations: 4 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2615, allocations: 7.938 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2616, allocations: 23.86 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.2617, allocations: 44.09 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2617, allocations: 0 / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2617, allocations: 4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2617, allocations: 0 / 1.209 GB, free: 7.953 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004813/0.2622, allocations: 363.3 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2622, allocations: 8.625 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.2622, allocations: 30.75 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2623, allocations: 4.938 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2624, allocations: 176.3 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2624, allocations: 384 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2624, allocations: 8.375 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2625, allocations: 53.75 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.2625, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2626, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2626, allocations: 8 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.2626, allocations: 15.98 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.2629, allocations: 272.8 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.263, allocations: 50.5 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.2631, allocations: 20.86 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.2631, allocations: 4.094 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.2632, allocations: 67.38 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.2632, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001848/0.2634, allocations: 81.53 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2635, allocations: 55.34 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.2636, allocations: 117.8 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2636, allocations: 25.7 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2636, allocations: 92.12 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2637, allocations: 11.81 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2637, allocations: 17.72 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.2638, allocations: 326.7 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.2638, allocations: 8 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.2638, allocations: 12 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.2639, allocations: 36.84 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2639, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.382e-05/0.264, allocations: 69.62 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.264, allocations: 4 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.264, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.264, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.2641, allocations: 8 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2641, allocations: 0 / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.2642, allocations: 4.438 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.2642, allocations: 3.984 kB / 1.211 GB, free: 5.801 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: 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 7.009e-05/0.2643, allocations: 121.8 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.2643, allocations: 3.906 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.2643, allocations: 7.969 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2643, allocations: 3.984 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2643, allocations: 4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2643, allocations: 0 / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.2644, allocations: 173.6 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2645, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.2645, allocations: 12 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2645, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2645, allocations: 4 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2645, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2645, allocations: 3.938 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2646, allocations: 93.05 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2647, allocations: 88.95 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2647, allocations: 7.938 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.2648, allocations: 7.984 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.2648, allocations: 4 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2648, allocations: 4 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.2649, allocations: 87.27 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2649, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001854/0.2651, allocations: 16 kB / 1.212 GB, free: 5.07 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: 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.0003552/0.2654, allocations: 0.6396 MB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2655, allocations: 31.98 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2655, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.2656, allocations: 19.94 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2657, allocations: 10.38 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.2667, allocations: 1.231 MB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.2669, allocations: 0.6846 MB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2669, allocations: 0 / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.267, allocations: 19.42 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.267, allocations: 4 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2835, allocations: 1.54 MB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.527, allocations: 0 / 1.216 GB, free: 0.9023 MB / 0.9669 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