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.001364/0.001364, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001868/0.003232, allocations: 435.8 kB / 10.33 MB, free: 368 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.001202/0.001202, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002639, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9633/0.9633, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.477/2.477, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.306/2.783, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.824e-06/1.824e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.164e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003409/0.003431, allocations: 2.917 MB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.006327, allocations: 2.234 MB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.006618, allocations: 19.81 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.007668, allocations: 421.9 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.008165, allocations: 306.4 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.008905, allocations: 335 kB / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.01039, allocations: 1.657 MB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.01059, allocations: 70.59 kB / 0.826 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.0117, allocations: 1.026 MB / 0.827 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.01252, allocations: 494.9 kB / 0.8275 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.01264, allocations: 68 kB / 0.8275 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.01275, allocations: 67.94 kB / 0.8276 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.01307, allocations: 415 kB / 0.828 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.01339, allocations: 287.4 kB / 0.8283 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.01408, allocations: 0.8177 MB / 0.8291 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.0141, allocations: 0 / 0.8291 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.603e-06/0.0141, allocations: 0 / 0.8291 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.01413, allocations: 3.938 kB / 0.8291 GB, free: 7.789 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.001674/0.0158, allocations: 1.413 MB / 0.8305 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.01584, allocations: 8.031 kB / 0.8305 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.01599, allocations: 96.83 kB / 0.8306 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.01676, allocations: 0.6204 MB / 0.8312 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.01678, allocations: 33.03 kB / 0.8312 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.01685, allocations: 48.33 kB / 0.8312 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.0172, allocations: 324 kB / 0.8316 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01721, allocations: 192 / 0.8316 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.01724, allocations: 15.94 kB / 0.8316 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.01725, allocations: 11.98 kB / 0.8316 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01737, allocations: 103.2 kB / 0.8317 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.01893, allocations: 1.733 MB / 0.8334 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.01972, allocations: 451.8 kB / 0.8338 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.0198, allocations: 44.84 kB / 0.8338 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.01981, allocations: 4 kB / 0.8339 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.01985, allocations: 42.56 kB / 0.8339 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.01985, allocations: 0 / 0.8339 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0006127/0.02046, allocations: 231.7 kB / 0.8341 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.02051, allocations: 55.41 kB / 0.8342 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.02138, allocations: 0.7778 MB / 0.8349 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.02141, allocations: 37.7 kB / 0.835 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02159, allocations: 291 kB / 0.8352 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.02168, allocations: 115 kB / 0.8354 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.0218, allocations: 138.2 kB / 0.8355 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.02189, allocations: 341.8 kB / 0.8358 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.02199, allocations: 84.11 kB / 0.8359 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.02223, allocations: 360.7 kB / 0.8362 GB, free: 68 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.02267, allocations: 0.5337 MB / 0.8368 GB, free: 15.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.02268, allocations: 4 kB / 0.8368 GB, free: 15.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007237/0.0234, allocations: 0.5463 MB / 0.8373 GB, free: 14.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.02343, allocations: 12 kB / 0.8373 GB, free: 14.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.02345, allocations: 8 kB / 0.8373 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.02448, allocations: 341.6 kB / 0.8376 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.02469, allocations: 123.8 kB / 0.8378 GB, free: 14.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.02721, allocations: 2.282 MB / 0.84 GB, free: 11.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.02765, allocations: 79.45 kB / 0.8401 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.02768, allocations: 32.03 kB / 0.8401 GB, free: 11.86 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.0001833/0.02787, allocations: 156.4 kB / 0.8402 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.02796, allocations: 59.88 kB / 0.8403 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.02806, allocations: 88.8 kB / 0.8404 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.02807, allocations: 0 / 0.8404 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.02807, allocations: 4 kB / 0.8404 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.02808, allocations: 7.984 kB / 0.8404 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.02854, allocations: 405.7 kB / 0.8408 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02854, allocations: 0 / 0.8408 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.02892, allocations: 158.7 kB / 0.8409 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.02914, allocations: 131.3 kB / 0.8411 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.02928, allocations: 35.67 kB / 0.8411 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004624/0.02974, allocations: 11.98 kB / 0.8411 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007699/0.03051, allocations: 1.277 MB / 0.8423 GB, free: 9.418 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.03052, allocations: 3.938 kB / 0.8424 GB, free: 9.414 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.03095, allocations: 408.6 kB / 0.8427 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.03103, allocations: 15.98 kB / 0.8428 GB, free: 8.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.03125, allocations: 7.938 kB / 0.8428 GB, free: 8.973 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.03131, allocations: 19.97 kB / 0.8428 GB, free: 8.953 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.03132, allocations: 4 kB / 0.8428 GB, free: 8.949 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004163/0.03173, allocations: 403.7 kB / 0.8432 GB, free: 8.543 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.03173, allocations: 0 / 0.8432 GB, free: 8.543 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008257/0.03256, allocations: 459.8 kB / 0.8436 GB, free: 8.094 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 0.0001548/0.03271, allocations: 100.3 kB / 0.8437 GB, free: 7.988 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008035/0.03352, allocations: 0.5675 MB / 0.8443 GB, free: 7.406 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.03354, allocations: 8 kB / 0.8443 GB, free: 7.398 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.03368, allocations: 179.4 kB / 0.8444 GB, free: 7.207 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.03447, allocations: 356.7 kB / 0.8448 GB, free: 6.855 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.04041, allocations: 1.501 MB / 0.8462 GB, free: 5.312 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.04061, allocations: 238.5 kB / 0.8465 GB, free: 5.059 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000313/0.04092, allocations: 98.89 kB / 0.8466 GB, free: 4.957 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.04137, allocations: 261.1 kB / 0.8468 GB, free: 4.703 MB / 0.823 GB Notification: Performance of SimCode: time 1.402e-06/0.04137, allocations: 0 / 0.8468 GB, free: 4.703 MB / 0.823 GB Notification: Performance of Templates: time 0.03456/0.07593, allocations: 19.07 MB / 0.8654 GB, free: 2.016 MB / 0.8386 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.698766938410699]