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.001898/0.001898, allocations: 106 kB / 16.45 MB, free: 6.445 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.001983/0.001983, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.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.582/2.582, allocations: 443.5 MB / 0.7287 GB, free: 14.53 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.002061/0.002061, allocations: 71.88 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 160.7 MB / 1.213 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002912/0.3172, allocations: 1.488 MB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.3181, allocations: 479.5 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.3182, allocations: 3.938 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3182, allocations: 0 / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.3185, allocations: 31.78 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.763e-05/0.3186, allocations: 7.984 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3187, allocations: 51.84 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3188, allocations: 16.27 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3189, allocations: 23.88 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.319, allocations: 23.91 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.319, allocations: 4 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.319, allocations: 4 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.319, allocations: 11.92 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3191, allocations: 23.92 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3192, allocations: 39.83 kB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3192, allocations: 0 / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3192, allocations: 0 / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3192, allocations: 0 / 1.215 GB, free: 15.23 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.0006453/0.3199, allocations: 359.3 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3199, allocations: 15.97 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3199, allocations: 38.69 kB / 1.215 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.32, allocations: 0.9375 kB / 1.215 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3202, allocations: 176.3 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3202, allocations: 4.375 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3202, allocations: 4.375 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.3203, allocations: 49.81 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3203, allocations: 4 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3203, allocations: 4 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3203, allocations: 0 / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.3204, allocations: 19.98 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.3208, allocations: 280.7 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3209, allocations: 38.56 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.321, allocations: 20.94 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.321, allocations: 4 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.3212, allocations: 71.33 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 3.196e-06/0.3212, allocations: 3.984 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002385/0.3214, allocations: 73.69 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3215, allocations: 51.41 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3216, allocations: 113.8 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3216, allocations: 25.7 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.3217, allocations: 88.12 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.3217, allocations: 15.91 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3217, allocations: 21.66 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3219, allocations: 318.8 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.3219, allocations: 12 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.3219, allocations: 12 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.322, allocations: 41.16 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.322, allocations: 0 / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.3221, allocations: 73.64 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3221, allocations: 6.188 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3221, allocations: 0 / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3221, allocations: 0 / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.3222, allocations: 8 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3222, allocations: 0 / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.3223, allocations: 11.92 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3223, allocations: 0 / 1.217 GB, free: 13.07 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 0.0001037/0.3224, allocations: 121.7 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3224, allocations: 7.953 kB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.3224, allocations: 11.97 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3225, allocations: 0 / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3225, allocations: 0 / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3225, allocations: 0 / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3226, allocations: 173.6 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3226, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.3227, allocations: 4 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3227, allocations: 4 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3227, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3227, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3227, allocations: 4 kB / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3228, allocations: 101 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.3229, allocations: 89 kB / 1.217 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3229, allocations: 0 / 1.217 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.323, allocations: 4.109 kB / 1.217 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.323, allocations: 4 kB / 1.217 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.323, allocations: 4 kB / 1.217 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.3231, allocations: 99.27 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3231, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002025/0.3233, allocations: 12 kB / 1.218 GB, free: 12.35 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.0005368/0.3238, allocations: 0.6281 MB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.3239, allocations: 35.92 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3239, allocations: 4 kB / 1.218 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.324, allocations: 15.98 kB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3241, allocations: 11.94 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3254, allocations: 1.227 MB / 1.219 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3258, allocations: 0.6845 MB / 1.22 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.3258, allocations: 7.984 kB / 1.22 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3259, allocations: 11.44 kB / 1.22 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of SimCode: time 9.51e-07/0.3259, allocations: 0 / 1.22 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.3503, allocations: 1.531 MB / 1.222 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.262, allocations: 4.938 kB / 1.222 GB, free: 8.203 MB / 0.9669 GB " [Timeout remaining time 292] (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.16862293984741]