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.001452/0.001453, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001734/0.001734, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.75 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3336, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002812/0.3364, allocations: 1.493 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.3372, allocations: 482.5 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.3372, allocations: 0 / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.3373, allocations: 0 / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.3375, allocations: 27.8 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.605e-05/0.3376, allocations: 23.97 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3377, allocations: 43.94 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.3378, allocations: 7.984 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.3379, allocations: 19.88 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.338, allocations: 31.81 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.338, allocations: 4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.3381, allocations: 8 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.3381, allocations: 11.94 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.3381, allocations: 15.92 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.3382, allocations: 43.81 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3383, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3383, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3383, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 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.0005759/0.3388, allocations: 355.4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3389, allocations: 8.031 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3389, allocations: 12.84 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3391, allocations: 172.3 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3391, allocations: 4.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3391, allocations: 8.312 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3393, allocations: 50 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3393, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3393, allocations: 3.984 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3393, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.3394, allocations: 19.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.3397, allocations: 280.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3398, allocations: 42.56 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.3399, allocations: 24.86 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3399, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3401, allocations: 67.42 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.3401, allocations: 0 / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002095/0.3403, allocations: 85.61 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3404, allocations: 51.41 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3405, allocations: 113.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3405, allocations: 25.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3406, allocations: 88.08 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.3406, allocations: 15.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3406, allocations: 17.72 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3408, allocations: 326.8 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.3408, allocations: 12 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.3408, allocations: 12 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.3409, allocations: 36.78 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001031/0.341, allocations: 61.61 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.341, allocations: 7.984 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.341, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3411, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.3411, allocations: 8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3412, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.3412, allocations: 8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3412, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 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.0001065/0.3414, allocations: 121.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.3414, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3414, allocations: 7.969 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3414, allocations: 4.375 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3414, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3414, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.3416, allocations: 189.5 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3416, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.3416, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3417, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3417, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3417, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3417, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3418, allocations: 97.05 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3419, allocations: 81.11 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3419, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.342, allocations: 7.938 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.342, allocations: 7.984 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.342, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3421, allocations: 95.2 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3421, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001938/0.3423, allocations: 19.84 kB / 1.031 GB, free: 12.99 MB / 0.8106 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.0001408/0.3424, allocations: 99.25 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.3426, allocations: 43.92 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3426, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.3426, allocations: 19.94 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.3428, allocations: 10.66 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3432, allocations: 130.2 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3435, allocations: 0.6807 MB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.3435, allocations: 7.984 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.3435, allocations: 11.44 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3435, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.00267/0.3462, allocations: 0.5457 MB / 1.033 GB, free: 11.39 MB / 0.8106 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 -s cvode -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