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.001144/0.001144, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003001, allocations: 449.8 kB / 10.44 MB, free: 252 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.001179/0.001179, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002843, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9921/0.9921, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.883/1.883, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5048/2.388, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.222e-06/1.222e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.676e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002213/0.00223, allocations: 1.991 MB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.004104, allocations: 1.897 MB / 0.7335 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.00418, allocations: 0.6562 kB / 0.7335 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.004314, allocations: 36.98 kB / 0.7335 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.0046, allocations: 132.7 kB / 0.7336 GB, free: 384 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.004893, allocations: 168.4 kB / 0.7338 GB, free: 216 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.005166, allocations: 299.1 kB / 0.7341 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.005257, allocations: 32.58 kB / 0.7341 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02614/0.0314, allocations: 10.53 MB / 0.7444 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.03155, allocations: 87.77 kB / 0.7445 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.03159, allocations: 20 kB / 0.7445 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.03177, allocations: 67.86 kB / 0.7446 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.03184, allocations: 71.8 kB / 0.7446 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.0319, allocations: 57.62 kB / 0.7447 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.03225, allocations: 243 kB / 0.7449 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.03226, allocations: 0 / 0.7449 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.03226, allocations: 0 / 0.7449 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.03228, allocations: 0 / 0.7449 GB, free: 8.609 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.0006325/0.03291, allocations: 0.5282 MB / 0.7454 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.03294, allocations: 14.09 kB / 0.7454 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.03311, allocations: 118 kB / 0.7456 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.03336, allocations: 248.7 kB / 0.7458 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.03337, allocations: 12.75 kB / 0.7458 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.0334, allocations: 20.38 kB / 0.7458 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.03362, allocations: 287.3 kB / 0.7461 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.03363, allocations: 6.688 kB / 0.7461 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.03365, allocations: 8 kB / 0.7461 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.03365, allocations: 4 kB / 0.7461 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.03405, allocations: 494.4 kB / 0.7466 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.03462, allocations: 394.3 kB / 0.747 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.03481, allocations: 135.6 kB / 0.7471 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.03487, allocations: 52.75 kB / 0.7471 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.0349, allocations: 19.98 kB / 0.7472 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.03508, allocations: 172 kB / 0.7473 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.03508, allocations: 4 kB / 0.7473 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0002319/0.03531, allocations: 178.4 kB / 0.7475 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.03534, allocations: 55.41 kB / 0.7476 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.03546, allocations: 217.6 kB / 0.7478 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.03548, allocations: 33.69 kB / 0.7478 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.03552, allocations: 118.1 kB / 0.7479 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.03559, allocations: 124.5 kB / 0.748 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.03565, allocations: 65.59 kB / 0.7481 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.03573, allocations: 342.7 kB / 0.7484 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.03577, allocations: 23.98 kB / 0.7484 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.03585, allocations: 118.8 kB / 0.7486 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.03597, allocations: 117.8 kB / 0.7487 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.03597, allocations: 0 / 0.7487 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001519/0.03612, allocations: 146 kB / 0.7488 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.03613, allocations: 8 kB / 0.7488 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.03614, allocations: 1.656 kB / 0.7488 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.03615, allocations: 0 / 0.7488 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.03631, allocations: 71.89 kB / 0.7489 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.03631, allocations: 0 / 0.7489 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.03639, allocations: 28.81 kB / 0.7489 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.0364, allocations: 4 kB / 0.7489 GB, free: 4.285 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 8.475e-05/0.03648, allocations: 137.1 kB / 0.749 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.03651, allocations: 29.62 kB / 0.7491 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.03678, allocations: 226.9 kB / 0.7493 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.03678, allocations: 5.219 kB / 0.7493 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.03678, allocations: 0 / 0.7493 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.03679, allocations: 11.97 kB / 0.7493 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.03695, allocations: 170.4 kB / 0.7495 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03695, allocations: 4 kB / 0.7495 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.03707, allocations: 67.89 kB / 0.7495 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.03713, allocations: 57.02 kB / 0.7496 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.03713, allocations: 4 kB / 0.7496 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.03714, allocations: 4 kB / 0.7496 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.03715, allocations: 9.078 kB / 0.7496 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.03715, allocations: 0 / 0.7496 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.03731, allocations: 187.5 kB / 0.7498 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.03734, allocations: 13.44 kB / 0.7498 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.03741, allocations: 15.98 kB / 0.7498 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.03745, allocations: 23.95 kB / 0.7498 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.03746, allocations: 7.984 kB / 0.7498 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.03751, allocations: 72.25 kB / 0.7499 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.03751, allocations: 0 / 0.7499 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001619/0.03768, allocations: 60 kB / 0.75 GB, free: 3.152 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.00115/0.03883, allocations: 490.3 kB / 0.7504 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.03901, allocations: 129.6 kB / 0.7506 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.03902, allocations: 7.984 kB / 0.7506 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.03912, allocations: 106.5 kB / 0.7507 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.03935, allocations: 243.7 kB / 0.7509 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.0412, allocations: 471.2 kB / 0.7514 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.04125, allocations: 103 kB / 0.7514 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000131/0.04138, allocations: 79.69 kB / 0.7515 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.04154, allocations: 132.8 kB / 0.7517 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.04154, allocations: 1 kB / 0.7517 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.005592/0.04713, allocations: 3.878 MB / 0.7554 GB, free: 13.83 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20778688415885]