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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001064/0.001064, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004391, allocations: 11.94 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8116, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002042/0.8137, allocations: 1.192 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.8146, allocations: 435.3 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.8147, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.8147, allocations: 3.984 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.815, allocations: 19.91 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.838e-05/0.8151, allocations: 15.94 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.8152, allocations: 51.83 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.8153, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.8155, allocations: 19.92 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.8156, allocations: 19.92 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.8156, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.8156, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.8156, allocations: 15.91 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.8157, allocations: 29.7 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.8158, allocations: 29.92 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.8158, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8158, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.8158, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 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.0006997/0.8166, allocations: 351.2 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.8166, allocations: 8.562 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.8167, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.8169, allocations: 178.9 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.817, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.817, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.8172, allocations: 53.62 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8172, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8172, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8172, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.8173, allocations: 20 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.8179, allocations: 280.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.818, allocations: 42.56 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.818, allocations: 20.94 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.8181, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.8183, allocations: 67.39 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.8183, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000277/0.8186, allocations: 85.62 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.8187, allocations: 55.39 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.8188, allocations: 113.8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.8188, allocations: 25.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.8189, allocations: 92.03 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.8189, allocations: 11.84 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.8189, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8191, allocations: 318.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.8191, allocations: 16 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.8192, allocations: 8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.8192, allocations: 16.33 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8192, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001268/0.8194, allocations: 73.53 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.8194, allocations: 8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8194, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8194, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.8195, allocations: 11.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8195, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.8196, allocations: 8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.8196, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 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 ($whenCondition1,$PRE.locTim.tNext,locTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.8198, allocations: 117.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.8198, allocations: 7.891 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.8198, allocations: 7.969 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.8198, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.8198, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8198, allocations: 3.938 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.82, allocations: 165.7 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.82, allocations: 11.94 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.8201, allocations: 7.938 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.8201, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.8201, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8201, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8201, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.8203, allocations: 89.12 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.8204, allocations: 88.95 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.8204, allocations: 4 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.8204, allocations: 8 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.8205, allocations: 7.984 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.8205, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.8206, allocations: 87.58 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8206, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000206/0.8208, allocations: 12 kB / 1.027 GB, free: 11.45 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.821, allocations: 103.3 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.8211, allocations: 43.98 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8211, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.8212, allocations: 12 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.8214, allocations: 8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.8218, allocations: 149.2 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.8222, allocations: 0.6887 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.8222, allocations: 4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.8222, allocations: 11.44 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.8223, allocations: 3.938 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002848/0.8251, allocations: 0.4884 MB / 1.028 GB, free: 9.895 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches