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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_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_latest_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.0009326/0.0009326, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.387/2.387, allocations: 443.2 MB / 0.7181 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 11.62 kB / 0.8801 GB, free: 42.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 155.1 MB / 1.032 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001536/0.24, allocations: 1.199 MB / 1.033 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006933/0.2407, allocations: 467.1 kB / 1.033 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.2408, allocations: 3.938 kB / 1.033 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.2408, allocations: 7.922 kB / 1.033 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.241, allocations: 23.91 kB / 1.033 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.294e-05/0.2411, allocations: 8 kB / 1.033 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.2412, allocations: 63.72 kB / 1.033 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.868e-05/0.2413, allocations: 4 kB / 1.033 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.2414, allocations: 19.97 kB / 1.033 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.2415, allocations: 23.86 kB / 1.033 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2415, allocations: 4 kB / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.2415, allocations: 0 / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.2415, allocations: 11.98 kB / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.2416, allocations: 41.58 kB / 1.033 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.2417, allocations: 32.14 kB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2417, allocations: 4 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2417, allocations: 0 / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.2417, allocations: 3.938 kB / 1.033 GB, free: 2.785 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.0004643/0.2421, allocations: 347.4 kB / 1.034 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2422, allocations: 8.031 kB / 1.034 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2422, allocations: 4.938 kB / 1.034 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2424, allocations: 172.3 kB / 1.034 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2424, allocations: 384 / 1.034 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2424, allocations: 4.375 kB / 1.034 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2425, allocations: 57.98 kB / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2425, allocations: 0 / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2425, allocations: 0 / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2425, allocations: 3.984 kB / 1.034 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.2426, allocations: 27.92 kB / 1.034 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.2429, allocations: 264.9 kB / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.243, allocations: 50.56 kB / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.2431, allocations: 16.86 kB / 1.034 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.2431, allocations: 0 / 1.034 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.2433, allocations: 67.42 kB / 1.034 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2433, allocations: 4 kB / 1.034 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002029/0.2435, allocations: 81.77 kB / 1.035 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2435, allocations: 55.41 kB / 1.035 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.2436, allocations: 113.8 kB / 1.035 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2436, allocations: 29.7 kB / 1.035 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.2437, allocations: 80.14 kB / 1.035 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2437, allocations: 23.78 kB / 1.035 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.2437, allocations: 9.719 kB / 1.035 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.2438, allocations: 322.8 kB / 1.035 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.2439, allocations: 15.92 kB / 1.035 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.2439, allocations: 20 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.244, allocations: 28.86 kB / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.244, allocations: 0 / 1.035 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000105/0.2441, allocations: 65.69 kB / 1.035 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2441, allocations: 7.938 kB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2441, allocations: 0 / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2441, allocations: 0 / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.2442, allocations: 11.98 kB / 1.035 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2442, allocations: 0 / 1.035 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.2443, allocations: 8 kB / 1.035 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2443, allocations: 4 kB / 1.035 GB, free: 0.6914 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 (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.488e-05/0.2444, allocations: 119.2 kB / 1.035 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.2444, allocations: 7.906 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.2444, allocations: 11.95 kB / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2444, allocations: 0 / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2444, allocations: 0 / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2444, allocations: 0 / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2446, allocations: 173.6 kB / 1.036 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2446, allocations: 0 / 1.036 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.2446, allocations: 7.984 kB / 1.036 GB, free: 328 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2446, allocations: 4 kB / 1.036 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2446, allocations: 0 / 1.036 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2446, allocations: 0 / 1.036 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2446, allocations: 0 / 1.036 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2448, allocations: 105.2 kB / 1.036 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.2448, allocations: 89.03 kB / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2448, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.2449, allocations: 12 kB / 1.036 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.2449, allocations: 7.984 kB / 1.036 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.245, allocations: 0 / 1.036 GB, free: 72 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.245, allocations: 87.28 kB / 1.036 GB, free: 15.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.245, allocations: 0 / 1.036 GB, free: 15.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001769/0.2452, allocations: 8 kB / 1.036 GB, free: 15.98 MB / 0.795 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.0001052/0.2453, allocations: 103.2 kB / 1.036 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2454, allocations: 35.94 kB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2454, allocations: 4 kB / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.2455, allocations: 23.92 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2456, allocations: 5.969 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2459, allocations: 176.3 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.2461, allocations: 0.6848 MB / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.2462, allocations: 19.36 kB / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.2462, allocations: 0 / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of Templates: time 0.001915/0.2481, allocations: 0.7342 MB / 1.038 GB, free: 14.14 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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