Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001432/0.001432, allocations: 99.67 kB / 16.35 MB, free: 5.824 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.001519/0.001519, allocations: 193.8 kB / 17.29 MB, free: 5.48 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.33 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3608, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003044/0.3639, allocations: 1.488 MB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.3648, allocations: 458.8 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.3648, allocations: 0 / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.3649, allocations: 7.922 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.3652, allocations: 39.72 kB / 0.9531 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.54e-05/0.3652, allocations: 15.92 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.3653, allocations: 43.86 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3655, allocations: 11.98 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.3656, allocations: 19.88 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.3657, allocations: 27.89 kB / 0.9532 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3657, allocations: 4 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.3657, allocations: 8 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3657, allocations: 7.938 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.3658, allocations: 27.92 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3659, allocations: 47.75 kB / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3659, allocations: 0 / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3659, allocations: 0 / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3659, allocations: 0 / 0.9533 GB, free: 5.879 MB / 0.7325 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.0006659/0.3666, allocations: 355.3 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3667, allocations: 8.031 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3667, allocations: 8.938 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3669, allocations: 176.2 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3669, allocations: 4.359 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3669, allocations: 4.375 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.367, allocations: 53.94 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.367, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3671, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3671, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.3671, allocations: 23.98 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3675, allocations: 272.8 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3676, allocations: 46.56 kB / 0.9542 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3677, allocations: 20.86 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3677, allocations: 3.984 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3679, allocations: 63.48 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.3679, allocations: 8 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002378/0.3681, allocations: 85.52 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.3682, allocations: 51.41 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.3683, allocations: 109.8 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3683, allocations: 29.7 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3684, allocations: 84.08 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3684, allocations: 23.78 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3685, allocations: 17.72 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3686, allocations: 318.8 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.3686, allocations: 15.98 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.3687, allocations: 12 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.3688, allocations: 32.8 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3688, allocations: 0 / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001032/0.3689, allocations: 61.69 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3689, allocations: 11.94 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3689, allocations: 0 / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3689, allocations: 3.984 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.369, allocations: 8 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.369, allocations: 4 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.3691, allocations: 7.906 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3691, allocations: 0 / 0.9551 GB, free: 3.766 MB / 0.7325 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.0001003/0.3692, allocations: 121.8 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3692, allocations: 3.938 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.3692, allocations: 7.969 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3692, allocations: 4.438 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3693, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3693, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3694, allocations: 181.6 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3694, allocations: 0 / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.3694, allocations: 4 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3695, allocations: 0 / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3695, allocations: 7.938 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3695, allocations: 0 / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3695, allocations: 0 / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3696, allocations: 101 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3697, allocations: 81.11 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3697, allocations: 4 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.3698, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3698, allocations: 11.92 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3698, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.3699, allocations: 91.58 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3699, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001838/0.3701, allocations: 15.94 kB / 0.9557 GB, free: 3.039 MB / 0.7325 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.0001347/0.3702, allocations: 103.2 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3704, allocations: 39.92 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3704, allocations: 0 / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.3704, allocations: 19.94 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3706, allocations: 4 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3709, allocations: 142.1 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3713, allocations: 0.6844 MB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.3713, allocations: 11.92 kB / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.3713, allocations: 11.44 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3713, allocations: 0 / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of Templates: time 0.003319/0.3747, allocations: 0.542 MB / 0.9572 GB, free: 1.438 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches