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.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.001276/0.001276, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 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.001544/0.001544, allocations: 215.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.756/2.756, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 68.59 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004223/0.3292, allocations: 1.496 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3307, allocations: 468.6 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.3307, allocations: 4 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.3308, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.331, allocations: 31.78 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.3312, allocations: 15.98 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3313, allocations: 51.78 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3314, allocations: 11.92 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3316, allocations: 27.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3317, allocations: 23.91 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3317, allocations: 8 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.3317, allocations: 7.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.3318, allocations: 7.984 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3318, allocations: 15.94 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.332, allocations: 49.62 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.332, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.332, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.332, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 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.0007189/0.3327, allocations: 271.7 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3327, allocations: 12.03 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.3328, allocations: 38.75 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.3328, allocations: 8.891 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.333, allocations: 118.5 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.333, allocations: 4.375 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3331, allocations: 4.375 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3332, allocations: 53.75 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3332, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3332, allocations: 4 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3332, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.3333, allocations: 19.92 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.3339, allocations: 239.9 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.334, allocations: 46.56 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.3341, allocations: 16.86 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3341, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.3344, allocations: 67.42 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.3344, allocations: 0 / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003338/0.3347, allocations: 85.62 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.3348, allocations: 51.41 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3349, allocations: 113.8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3349, allocations: 25.7 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.335, allocations: 84.14 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.3351, allocations: 15.91 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.3351, allocations: 25.64 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.3354, allocations: 318.8 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.3354, allocations: 11.98 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.3355, allocations: 12 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3356, allocations: 32.86 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3356, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001955/0.3358, allocations: 66 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3358, allocations: 4 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3358, allocations: 8 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3359, allocations: 15.98 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3359, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.336, allocations: 7.953 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.336, allocations: 0 / 1.286 GB, free: 8.297 MB / 0.9825 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.0001311/0.3362, allocations: 117.8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3362, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.3362, allocations: 12.05 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3362, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3363, allocations: 3.938 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3363, allocations: 4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3364, allocations: 140.7 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3364, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.3365, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3365, allocations: 3.984 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3365, allocations: 7.984 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3365, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3365, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3368, allocations: 96.95 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.3368, allocations: 11.94 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3368, allocations: 3.984 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.3369, allocations: 8 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.337, allocations: 3.984 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.337, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.811e-05/0.3371, allocations: 87.58 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3371, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003574/0.3374, allocations: 16 kB / 1.287 GB, free: 7.699 MB / 0.9825 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.0007388/0.3382, allocations: 0.6358 MB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3383, allocations: 36.11 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3383, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.3384, allocations: 16 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3387, allocations: 11.98 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3406, allocations: 1.212 MB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.967e-05/0.3407, allocations: 71.33 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.3407, allocations: 3.938 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.3407, allocations: 15.44 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3407, allocations: 0 / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.3761, allocations: 2.03 MB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 6.312 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB " [Timeout remaining time 287] (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 --stepSize=69.12 --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: 18.648725552950054]