Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008489/0.008495, allocations: 98.84 kB / 15.73 MB, free: 6.035 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.001962/0.001962, allocations: 195.7 kB / 16.67 MB, free: 5.961 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002588/0.348, allocations: 1.496 MB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.3489, allocations: 466.8 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3489, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.349, allocations: 7.938 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.3493, allocations: 23.84 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.628e-05/0.3493, allocations: 15.92 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3495, allocations: 55.84 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3496, allocations: 11.98 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3497, allocations: 23.86 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3498, allocations: 19.92 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3498, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.3498, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.3499, allocations: 15.92 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3499, allocations: 19.92 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3501, allocations: 43.81 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3501, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3501, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3501, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 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.0005582/0.3506, allocations: 359.3 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3507, allocations: 8.031 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3507, allocations: 8.875 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3509, allocations: 176.3 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3509, allocations: 384 / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3509, allocations: 8.375 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.351, allocations: 53.98 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3511, allocations: 0 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3511, allocations: 0 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3511, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.3511, allocations: 16 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.3515, allocations: 276.8 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.3516, allocations: 46.56 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.3517, allocations: 20.94 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.3517, allocations: 0 / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.3518, allocations: 71.34 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.3518, allocations: 3.984 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002141/0.3521, allocations: 81.61 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3521, allocations: 51.41 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.3522, allocations: 117.8 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3522, allocations: 25.7 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.3523, allocations: 84.08 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3523, allocations: 15.91 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.3523, allocations: 25.64 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.3524, allocations: 314.8 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.3525, allocations: 16 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.3525, allocations: 15.98 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.3526, allocations: 37.17 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3526, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001075/0.3527, allocations: 69.64 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3527, allocations: 4 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3527, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3527, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.3528, allocations: 8 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3528, allocations: 3.984 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.3529, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3529, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 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.921e-05/0.353, allocations: 127.7 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.353, allocations: 3.953 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.353, allocations: 15.91 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.353, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3531, allocations: 3.984 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3531, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3532, allocations: 169.6 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3532, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.3532, allocations: 4 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3532, allocations: 8 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3533, allocations: 3.984 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3533, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3533, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3534, allocations: 93.06 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3535, allocations: 85.06 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3535, allocations: 4.109 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.3535, allocations: 4 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3536, allocations: 8 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3536, allocations: 11.92 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.3537, allocations: 87.28 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3537, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002011/0.3539, allocations: 15.94 kB / 1.171 GB, free: 1.781 MB / 0.92 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.00011/0.354, allocations: 97.28 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3541, allocations: 43.92 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3541, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.3542, allocations: 23.92 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3543, allocations: 4 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.3546, allocations: 141.9 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3549, allocations: 0.6807 MB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.3549, allocations: 4 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3549, allocations: 7.438 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.3549, allocations: 4 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of Templates: time 0.002566/0.3575, allocations: 0.5549 MB / 1.173 GB, free: 180 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches