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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00148/0.00148, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001673/0.001673, allocations: 190.7 kB / 17.34 MB, free: 5.738 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.89 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7718, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002389/0.7742, allocations: 1.47 MB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.775, allocations: 474.8 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.775, allocations: 0 / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.7751, allocations: 7.938 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.7753, allocations: 30.83 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.758e-05/0.7754, allocations: 11.98 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.7755, allocations: 59.73 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.7756, allocations: 11.97 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.7756, allocations: 23.92 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.7757, allocations: 23.92 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.7758, allocations: 7.938 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.7758, allocations: 4 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.7758, allocations: 11.98 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.7758, allocations: 19.86 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.776, allocations: 43.67 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.776, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.776, allocations: 3.938 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.776, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 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.0005071/0.7765, allocations: 360 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.7765, allocations: 8.031 kB / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.7766, allocations: 8.891 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.7767, allocations: 172.3 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7767, allocations: 384 / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7768, allocations: 4.375 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.7769, allocations: 53.94 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.7769, allocations: 0 / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.7769, allocations: 4 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7769, allocations: 0 / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.777, allocations: 23.98 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.7773, allocations: 276.8 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.7774, allocations: 46.5 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.7775, allocations: 16.95 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.7775, allocations: 7.984 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.7777, allocations: 63.39 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.7777, allocations: 0 / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002/0.7779, allocations: 77.69 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.7779, allocations: 55.34 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.778, allocations: 117.8 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.778, allocations: 25.7 kB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.7781, allocations: 96.06 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.7781, allocations: 17.06 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.7781, allocations: 17.72 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7783, allocations: 322.8 kB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.7783, allocations: 12 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.7783, allocations: 12.38 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.7784, allocations: 32.84 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7784, allocations: 0 / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001045/0.7785, allocations: 65.64 kB / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7785, allocations: 17.66 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7785, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.7786, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.7786, allocations: 8 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.7786, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.7787, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.7787, allocations: 11.98 kB / 1.23 GB, free: 9.207 MB / 0.9512 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.137e-05/0.7788, allocations: 114.3 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.7788, allocations: 3.953 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.7789, allocations: 15.91 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7789, allocations: 0 / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7789, allocations: 4 kB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.7789, allocations: 81.09 kB / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.7789, allocations: 0 / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.779, allocations: 7.938 kB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.779, allocations: 4 kB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001577/0.7792, allocations: 152.9 kB / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001749/0.7794, allocations: 243 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.098e-05/0.7794, allocations: 20 kB / 1.231 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.7795, allocations: 91.27 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of Backend: time 3.11e-07/0.7795, allocations: 0 / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.7799, allocations: 106.3 kB / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004145/0.7803, allocations: 0.573 MB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of Templates: time 0.002534/0.7828, allocations: 0.6165 MB / 1.232 GB, free: 7.094 MB / 0.9512 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