Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9937/0.9937, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.952/1.952, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.975e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002281/0.002311, allocations: 1.55 MB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.003005, allocations: 498.3 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.003052, allocations: 0 / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.003081, allocations: 5.156 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.003327, allocations: 31.34 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.315e-05/0.0034, allocations: 21.61 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.003491, allocations: 55.06 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.253e-05/0.003563, allocations: 8.969 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.00373, allocations: 43.83 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.003802, allocations: 20.52 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.003817, allocations: 4 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.003827, allocations: 4.656 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003843, allocations: 13.02 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.003874, allocations: 23.91 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.241e-05/0.003946, allocations: 27.97 kB / 0.7623 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003949, allocations: 4.625 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00395, allocations: 0 / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003954, allocations: 1.781 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003674/0.004321, allocations: 252.8 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.004354, allocations: 16.02 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.004381, allocations: 4.938 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.004465, allocations: 118.9 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.004479, allocations: 4.312 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.004491, allocations: 8.375 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.817e-05/0.004569, allocations: 57 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004576, allocations: 192 / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004584, allocations: 384 / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.00459, allocations: 7.938 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.004613, allocations: 7.984 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.004878, allocations: 165 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.004963, allocations: 42.5 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.004984, allocations: 17.72 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.00499, allocations: 0 / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.769e-05/0.005088, allocations: 68.22 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.005089, allocations: 1.938 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001201/0.005209, allocations: 57.56 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.005253, allocations: 55.41 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.00532, allocations: 118.7 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.005333, allocations: 25.7 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.00537, allocations: 93.3 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.005392, allocations: 19.84 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.005421, allocations: 17.7 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.005513, allocations: 322.8 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.005529, allocations: 8.5 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.00554, allocations: 4.969 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.00558, allocations: 25.31 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005583, allocations: 1.969 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003575/0.00594, allocations: 61.59 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.005955, allocations: 7.938 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005959, allocations: 256 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005969, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.006028, allocations: 19.94 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006032, allocations: 6.734 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.006058, allocations: 0 / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.006065, allocations: 4 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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 5.459e-05/0.006119, allocations: 113.8 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.006127, allocations: 7.938 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.006149, allocations: 20.36 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006151, allocations: 1.688 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006152, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006155, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.23e-05/0.006217, allocations: 69.89 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006218, allocations: 0 / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.006232, allocations: 4.938 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006234, allocations: 4 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.006238, allocations: 0.875 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006239, allocations: 0 / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.00624, allocations: 3.938 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.006308, allocations: 81.59 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.006319, allocations: 7.078 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.006333, allocations: 4 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.006352, allocations: 0 / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.00638, allocations: 19.86 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.006384, allocations: 0 / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.418e-05/0.006398, allocations: 12.84 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006398, allocations: 0 / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.543e-05/0.006493, allocations: 12 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.022e-05/0.006583, allocations: 82.86 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.239e-05/0.006646, allocations: 28.84 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.006648, allocations: 0 / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.006677, allocations: 24.84 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.273e-05/0.00674, allocations: 7.984 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.007219, allocations: 167.2 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.007254, allocations: 60.22 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.007278, allocations: 0 / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.00732, allocations: 56.53 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.00732, allocations: 0 / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of Templates: time 0.002287/0.009607, allocations: 0.6694 MB / 0.7652 GB, free: 1.117 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2477075336501]