Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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.0007875/0.0007875, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.001984, allocations: 440 kB / 10.41 MB, free: 284 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.0009879/0.0009879, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002659, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9336/0.9336, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0806/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.295/2.295, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2351/2.53, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8189 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.264e-05, allocations: 8.922 kB / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.002546/0.002559, allocations: 2.915 MB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.004562, allocations: 2.246 MB / 0.8239 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.004709, allocations: 19.81 kB / 0.824 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008297/0.005539, allocations: 417.9 kB / 0.8244 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.00587, allocations: 314.3 kB / 0.8247 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.006402, allocations: 331 kB / 0.825 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.007469, allocations: 1.655 MB / 0.8266 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.007593, allocations: 70.61 kB / 0.8267 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.008336, allocations: 1.034 MB / 0.8277 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.00875, allocations: 490.9 kB / 0.8281 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.008828, allocations: 64 kB / 0.8282 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.008922, allocations: 71.94 kB / 0.8283 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.009172, allocations: 403.1 kB / 0.8286 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.009391, allocations: 291.4 kB / 0.8289 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.009928, allocations: 0.8215 MB / 0.8297 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.009936, allocations: 0 / 0.8297 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.009936, allocations: 4 kB / 0.8297 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.00995, allocations: 0 / 0.8297 GB, free: 7.383 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001283/0.01123, allocations: 1.413 MB / 0.8311 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.01126, allocations: 8.031 kB / 0.8311 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.01176, allocations: 96.83 kB / 0.8312 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.01239, allocations: 0.6087 MB / 0.8318 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.01241, allocations: 33.03 kB / 0.8318 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.01247, allocations: 56.31 kB / 0.8319 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.01277, allocations: 316 kB / 0.8322 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01278, allocations: 4.188 kB / 0.8322 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.0128, allocations: 19.94 kB / 0.8322 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.01281, allocations: 12 kB / 0.8322 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.01292, allocations: 107.2 kB / 0.8323 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01417, allocations: 1.729 MB / 0.834 GB, free: 2.816 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.01484, allocations: 454.1 kB / 0.8345 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.0149, allocations: 48.84 kB / 0.8345 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.01491, allocations: 4 kB / 0.8345 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.01493, allocations: 38.5 kB / 0.8345 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.142e-06/0.01493, allocations: 4 kB / 0.8345 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003703/0.0153, allocations: 227.8 kB / 0.8348 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.01533, allocations: 51.41 kB / 0.8348 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.01587, allocations: 0.7778 MB / 0.8356 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.0159, allocations: 41.64 kB / 0.8356 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.01604, allocations: 299 kB / 0.8359 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.01611, allocations: 111 kB / 0.836 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01621, allocations: 138.2 kB / 0.8361 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.01629, allocations: 341.8 kB / 0.8365 GB, free: 240 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.01638, allocations: 80.12 kB / 0.8365 GB, free: 156 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.01658, allocations: 364.7 kB / 0.8369 GB, free: 15.65 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.01694, allocations: 0.5362 MB / 0.8374 GB, free: 14.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01694, allocations: 4 kB / 0.8374 GB, free: 14.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008216/0.01776, allocations: 0.558 MB / 0.838 GB, free: 14.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01778, allocations: 8 kB / 0.838 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.01779, allocations: 12 kB / 0.838 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008929/0.01868, allocations: 345.9 kB / 0.8383 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01887, allocations: 123.8 kB / 0.8384 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.02084, allocations: 2.283 MB / 0.8406 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.02121, allocations: 75.47 kB / 0.8407 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.02124, allocations: 27.98 kB / 0.8407 GB, free: 11.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.02136, allocations: 156.5 kB / 0.8409 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.02143, allocations: 63.86 kB / 0.841 GB, free: 11.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.02151, allocations: 88.8 kB / 0.841 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.02151, allocations: 4 kB / 0.841 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.02151, allocations: 0 / 0.841 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02152, allocations: 0 / 0.841 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.02187, allocations: 413.7 kB / 0.8414 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02188, allocations: 0 / 0.8414 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.02219, allocations: 146.4 kB / 0.8416 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.02237, allocations: 131.3 kB / 0.8417 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.02247, allocations: 39.64 kB / 0.8417 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02249, allocations: 15.98 kB / 0.8418 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005456/0.02304, allocations: 1.273 MB / 0.843 GB, free: 8.988 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.02304, allocations: 3.938 kB / 0.843 GB, free: 8.984 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.02334, allocations: 400.6 kB / 0.8434 GB, free: 8.574 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.0234, allocations: 24.11 kB / 0.8434 GB, free: 8.551 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.02362, allocations: 3.938 kB / 0.8434 GB, free: 8.547 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.02366, allocations: 23.95 kB / 0.8434 GB, free: 8.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.02367, allocations: 4 kB / 0.8434 GB, free: 8.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003165/0.02399, allocations: 407.6 kB / 0.8438 GB, free: 8.109 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-08/0.02399, allocations: 0 / 0.8438 GB, free: 8.109 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005733/0.02456, allocations: 459.8 kB / 0.8443 GB, free: 7.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.469e-05/0.02466, allocations: 96.36 kB / 0.8444 GB, free: 7.559 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008627/0.02552, allocations: 0.5764 MB / 0.8449 GB, free: 6.973 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.02553, allocations: 16.31 kB / 0.8449 GB, free: 6.957 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.02568, allocations: 195.4 kB / 0.8451 GB, free: 6.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.02694, allocations: 2.675 MB / 0.8477 GB, free: 3.543 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.03202, allocations: 1.494 MB / 0.8492 GB, free: 2.008 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.03217, allocations: 238.6 kB / 0.8494 GB, free: 1.754 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.03236, allocations: 103 kB / 0.8495 GB, free: 1.648 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.03278, allocations: 269.1 kB / 0.8498 GB, free: 1.383 MB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/0.03278, allocations: 3.938 kB / 0.8498 GB, free: 1.379 MB / 0.823 GB Notification: Performance of Templates: time 0.01885/0.05163, allocations: 19.48 MB / 0.8688 GB, free: 14.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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.227222359739244]