Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.00259, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001078/0.001078, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002376, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.979/0.979, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09227/1.071, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.916/1.916, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5499/2.466, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.187e-05, allocations: 5.547 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002396/0.002418, allocations: 1.998 MB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.004485, allocations: 1.881 MB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.004565, allocations: 0.6875 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.004735, allocations: 39.64 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.005048, allocations: 121 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.005347, allocations: 164.1 kB / 0.7334 GB, free: 344 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.005621, allocations: 308.2 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005724, allocations: 25.89 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03093/0.03665, allocations: 10.53 MB / 0.744 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.03685, allocations: 75.83 kB / 0.7441 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.03689, allocations: 22.44 kB / 0.7441 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.03716, allocations: 71.91 kB / 0.7442 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.03725, allocations: 67.8 kB / 0.7443 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.03735, allocations: 59.81 kB / 0.7443 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.03783, allocations: 247 kB / 0.7446 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.28e-05/0.03785, allocations: 0 / 0.7446 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.03785, allocations: 0 / 0.7446 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.03788, allocations: 5.406 kB / 0.7446 GB, free: 8.73 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008451/0.03872, allocations: 0.5158 MB / 0.7451 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.03877, allocations: 12.03 kB / 0.7451 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.03901, allocations: 124.3 kB / 0.7452 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.03935, allocations: 244.7 kB / 0.7454 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.03938, allocations: 16.75 kB / 0.7454 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.0394, allocations: 16.38 kB / 0.7455 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.0397, allocations: 297.5 kB / 0.7457 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.03971, allocations: 3.938 kB / 0.7457 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.03974, allocations: 10.75 kB / 0.7458 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.03974, allocations: 4 kB / 0.7458 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.04031, allocations: 487 kB / 0.7462 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.04111, allocations: 394.1 kB / 0.7466 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.04137, allocations: 141.6 kB / 0.7467 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.04144, allocations: 48.16 kB / 0.7468 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.04149, allocations: 15.98 kB / 0.7468 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.04174, allocations: 183.9 kB / 0.747 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.537e-06/0.04174, allocations: 4 kB / 0.747 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0003019/0.04204, allocations: 169.9 kB / 0.7471 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.0421, allocations: 59.41 kB / 0.7472 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.04229, allocations: 213 kB / 0.7474 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.04232, allocations: 34.52 kB / 0.7474 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.04238, allocations: 117.5 kB / 0.7475 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.04246, allocations: 123.8 kB / 0.7477 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.04254, allocations: 65.61 kB / 0.7477 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.04265, allocations: 348 kB / 0.7481 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.0427, allocations: 27.97 kB / 0.7481 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.04288, allocations: 113.9 kB / 0.7482 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.04303, allocations: 112.9 kB / 0.7483 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.04303, allocations: 0.5312 kB / 0.7483 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002068/0.04324, allocations: 150.9 kB / 0.7484 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.04325, allocations: 9.375 kB / 0.7485 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.04326, allocations: 0 / 0.7485 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.04327, allocations: 0 / 0.7485 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.04349, allocations: 75.89 kB / 0.7485 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.04349, allocations: 5.094 kB / 0.7485 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.04358, allocations: 19.89 kB / 0.7486 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.0436, allocations: 11.98 kB / 0.7486 GB, free: 4.402 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 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001157/0.04371, allocations: 133.2 kB / 0.7487 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.04376, allocations: 29.88 kB / 0.7487 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.04411, allocations: 226.8 kB / 0.7489 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.04411, allocations: 9.297 kB / 0.7489 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.04411, allocations: 0 / 0.7489 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.04412, allocations: 4 kB / 0.7489 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.04432, allocations: 174.9 kB / 0.7491 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.04433, allocations: 4 kB / 0.7491 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.04449, allocations: 63.89 kB / 0.7492 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.04458, allocations: 63.69 kB / 0.7492 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.04458, allocations: 5.375 kB / 0.7492 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.04459, allocations: 4 kB / 0.7492 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.0446, allocations: 0 / 0.7492 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0446, allocations: 0 / 0.7492 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.04483, allocations: 184.8 kB / 0.7494 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.04486, allocations: 11.98 kB / 0.7494 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.04495, allocations: 15.98 kB / 0.7495 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.045, allocations: 28.77 kB / 0.7495 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.04502, allocations: 8 kB / 0.7495 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.04509, allocations: 71.56 kB / 0.7496 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.04509, allocations: 0 / 0.7496 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002254/0.04531, allocations: 60.92 kB / 0.7496 GB, free: 3.281 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,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * 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 0.001384/0.0467, allocations: 495.3 kB / 0.7501 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.04705, allocations: 120.6 kB / 0.7502 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.04706, allocations: 4 kB / 0.7502 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.04716, allocations: 88.53 kB / 0.7503 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.04737, allocations: 73.27 kB / 0.7504 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.04993, allocations: 475.8 kB / 0.7508 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.05, allocations: 93.98 kB / 0.7509 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.05018, allocations: 80.27 kB / 0.751 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.05038, allocations: 129.6 kB / 0.7511 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of SimCode: time 1.193e-06/0.05038, allocations: 0 / 0.7511 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.007586/0.05797, allocations: 3.872 MB / 0.7549 GB, free: 14.2 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.ref.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.255899429321289]