Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001527/0.001527, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001346/0.001346, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7427 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 70.98 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003206/0.347, allocations: 1.539 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.3479, allocations: 462.9 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.348, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.3481, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.3483, allocations: 19.91 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.896e-05/0.3484, allocations: 15.98 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.3485, allocations: 55.67 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.3486, allocations: 8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3488, allocations: 31.91 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.3488, allocations: 15.92 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3489, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.3489, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.3489, allocations: 11.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.349, allocations: 19.86 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.3491, allocations: 40.16 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3491, allocations: 8 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3491, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3491, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 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.0006294/0.3497, allocations: 349.2 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3498, allocations: 8.031 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3498, allocations: 12.84 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.35, allocations: 172.4 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.35, allocations: 384 / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.35, allocations: 4.375 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3502, allocations: 54 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3502, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3502, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3502, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.3503, allocations: 19.98 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3507, allocations: 272.8 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3508, allocations: 50.56 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.3509, allocations: 24.94 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3509, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.3511, allocations: 71.31 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3511, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002275/0.3513, allocations: 73.69 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3514, allocations: 55.41 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.3515, allocations: 113.8 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3515, allocations: 25.7 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.3516, allocations: 92.06 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3516, allocations: 11.81 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3517, allocations: 17.72 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3518, allocations: 322.8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.3518, allocations: 11.94 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.3519, allocations: 12 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.3519, allocations: 44.78 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.352, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.3521, allocations: 69.91 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3521, allocations: 5.406 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3521, allocations: 64 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3521, allocations: 8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.3522, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3522, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.3523, allocations: 7.984 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3523, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 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.000124/0.3524, allocations: 125.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3524, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.3525, allocations: 7.969 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3525, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3525, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3525, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3527, allocations: 185.5 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3527, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.3527, allocations: 4 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3527, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3527, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3527, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3527, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.3529, allocations: 105 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.353, allocations: 81.02 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.353, allocations: 0 / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.3531, allocations: 7.984 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3531, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3531, allocations: 8 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.832e-05/0.3532, allocations: 99.56 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3532, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000186/0.3534, allocations: 11.94 kB / 1.069 GB, free: 9.531 MB / 0.8262 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.0001329/0.3535, allocations: 99.25 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.3537, allocations: 39.92 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3537, allocations: 3.938 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.3537, allocations: 24.11 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3539, allocations: 4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.3543, allocations: 172 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3546, allocations: 0.6846 MB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3546, allocations: 7.438 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3546, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.002319/0.357, allocations: 0.7437 MB / 1.07 GB, free: 7.699 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches