Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001301/0.001302, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.001329/0.001329, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.441/1.441, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437.1 MB / 0.7171 GB, free: 4.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.88 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00304/1.022, allocations: 1.481 MB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/1.023, allocations: 465.9 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/1.023, allocations: 0 / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/1.023, allocations: 6.656 kB / 1.177 GB, free: 16.1 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/1.023, allocations: 32.39 kB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.503e-05/1.023, allocations: 15.53 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/1.023, allocations: 55.19 kB / 1.177 GB, free: 16.04 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/1.023, allocations: 13.19 kB / 1.177 GB, free: 16.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/1.024, allocations: 20.55 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/1.024, allocations: 28.12 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/1.024, allocations: 3.844 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/1.024, allocations: 8.188 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/1.024, allocations: 8.25 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/1.024, allocations: 25.86 kB / 1.177 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/1.024, allocations: 35.81 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.024, allocations: 1.5 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/1.024, allocations: 0 / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.024, allocations: 0 / 1.177 GB, free: 15.98 MB / 0.92 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.0005508/1.025, allocations: 356.8 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.025, allocations: 9.062 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/1.025, allocations: 37.73 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/1.025, allocations: 3.438 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.025, allocations: 178.4 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.025, allocations: 1.5 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/1.025, allocations: 2.562 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.025, allocations: 58.23 kB / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.025, allocations: 0 / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.025, allocations: 1.062 kB / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/1.025, allocations: 1.781 kB / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/1.025, allocations: 20.83 kB / 1.177 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/1.025, allocations: 276 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.026, allocations: 45.42 kB / 1.178 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/1.026, allocations: 24.88 kB / 1.178 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/1.026, allocations: 1.062 kB / 1.178 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/1.026, allocations: 71.41 kB / 1.178 GB, free: 14.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.026, allocations: 3.938 kB / 1.178 GB, free: 14.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002361/1.026, allocations: 81.64 kB / 1.178 GB, free: 14.85 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.026, allocations: 52.88 kB / 1.178 GB, free: 14.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/1.026, allocations: 112.2 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/1.026, allocations: 34.73 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/1.026, allocations: 83.56 kB / 1.178 GB, free: 14.56 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/1.026, allocations: 19.45 kB / 1.178 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.026, allocations: 18.45 kB / 1.178 GB, free: 14.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/1.026, allocations: 322.1 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/1.026, allocations: 11.38 kB / 1.179 GB, free: 14.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/1.026, allocations: 12.91 kB / 1.179 GB, free: 14.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/1.026, allocations: 31.91 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.026, allocations: 0 / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001003/1.027, allocations: 74.28 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.027, allocations: 8.875 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.027, allocations: 1.188 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.027, allocations: 0 / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/1.027, allocations: 12.34 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.027, allocations: 2 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/1.027, allocations: 2.734 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/1.027, allocations: 2.281 kB / 1.179 GB, free: 14.12 MB / 0.92 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 6.514e-05/1.027, allocations: 118 kB / 1.179 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/1.027, allocations: 6.109 kB / 1.179 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/1.027, allocations: 9.703 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.027, allocations: 2.062 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.027, allocations: 4 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.027, allocations: 1.875 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/1.027, allocations: 171.7 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.027, allocations: 0.6562 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/1.027, allocations: 5.75 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.027, allocations: 3.938 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/1.027, allocations: 2.438 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.027, allocations: 0 / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.027, allocations: 0.6562 kB / 1.179 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/1.027, allocations: 95.8 kB / 1.179 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/1.027, allocations: 87.62 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/1.027, allocations: 2.062 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/1.027, allocations: 2.797 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/1.027, allocations: 4.469 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.027, allocations: 7.75 kB / 1.179 GB, free: 13.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.64e-05/1.028, allocations: 88.73 kB / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.028, allocations: 0 / 1.179 GB, free: 13.51 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000182/1.028, allocations: 16.22 kB / 1.179 GB, free: 13.5 MB / 0.92 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.0003335/1.028, allocations: 0.6403 MB / 1.18 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001287/1.028, allocations: 31.42 kB / 1.18 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.028, allocations: 1.094 kB / 1.18 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/1.028, allocations: 23.91 kB / 1.18 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/1.028, allocations: 7.234 kB / 1.18 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/1.029, allocations: 1.227 MB / 1.181 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/1.03, allocations: 0.6804 MB / 1.182 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.37e-05/1.03, allocations: 7.531 kB / 1.182 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/1.03, allocations: 16.36 kB / 1.182 GB, free: 10.99 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/1.03, allocations: 0 / 1.182 GB, free: 10.99 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/1.053, allocations: 1.529 MB / 1.183 GB, free: 10.64 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.832, allocations: 10.03 kB / 1.183 GB, free: 10.63 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.723861237987876]