Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001046/0.001046, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009826/0.0009826, allocations: 161 kB / 23.82 MB, free: 0.7422 MB / 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.9732/0.9732, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.239e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00461/0.004642, allocations: 2.789 MB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004457/0.0091, allocations: 2.803 MB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.009386, allocations: 9.281 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.01109, allocations: 491.6 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.01183, allocations: 304.6 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01286, allocations: 419.1 kB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.01469, allocations: 1.546 MB / 0.8196 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.01491, allocations: 74.34 kB / 0.8197 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.01605, allocations: 0.6005 MB / 0.8203 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.01682, allocations: 403.6 kB / 0.8207 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.01694, allocations: 48.53 kB / 0.8207 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.01712, allocations: 53.94 kB / 0.8208 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.01748, allocations: 311.1 kB / 0.8211 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.01784, allocations: 247.5 kB / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.01872, allocations: 0.6074 MB / 0.8219 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.01873, allocations: 0 / 0.8219 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01873, allocations: 0 / 0.8219 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.01875, allocations: 0.8125 kB / 0.8219 GB, free: 7.117 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002121/0.02087, allocations: 1.231 MB / 0.8231 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.02092, allocations: 10.44 kB / 0.8231 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.0212, allocations: 108.4 kB / 0.8232 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.02185, allocations: 0.5376 MB / 0.8237 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.02187, allocations: 28.88 kB / 0.8238 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.02192, allocations: 40.36 kB / 0.8238 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.02225, allocations: 256.7 kB / 0.824 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.02226, allocations: 192 / 0.824 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.02228, allocations: 16.12 kB / 0.8241 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.02229, allocations: 5.125 kB / 0.8241 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.02243, allocations: 82.83 kB / 0.8241 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.0241, allocations: 1.803 MB / 0.8259 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.02463, allocations: 262.1 kB / 0.8261 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.02471, allocations: 57 kB / 0.8262 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.02472, allocations: 4 kB / 0.8262 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.02475, allocations: 37.39 kB / 0.8262 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.02475, allocations: 1.844 kB / 0.8262 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005078/0.02526, allocations: 255.6 kB / 0.8265 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.02529, allocations: 51.41 kB / 0.8265 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.02599, allocations: 0.822 MB / 0.8273 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.02602, allocations: 37.7 kB / 0.8274 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.02625, allocations: 403.5 kB / 0.8278 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.02631, allocations: 79.36 kB / 0.8278 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.02645, allocations: 148 kB / 0.828 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.02666, allocations: 0.5977 MB / 0.8286 GB, free: 44 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.02679, allocations: 57.27 kB / 0.8286 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.02707, allocations: 465.3 kB / 0.8291 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.02751, allocations: 0.5515 MB / 0.8296 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.02751, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005824/0.02809, allocations: 484.7 kB / 0.8301 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.02811, allocations: 8 kB / 0.8301 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.02812, allocations: 8 kB / 0.8301 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.02834, allocations: 51.59 kB / 0.8301 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.0286, allocations: 144.1 kB / 0.8303 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/0.02957, allocations: 1.771 MB / 0.832 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.02995, allocations: 123.4 kB / 0.8321 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.02998, allocations: 32 kB / 0.8321 GB, free: 11.89 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0001597/0.03014, allocations: 196.4 kB / 0.8323 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.03021, allocations: 71.58 kB / 0.8324 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.03026, allocations: 61.86 kB / 0.8325 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.03027, allocations: 0 / 0.8325 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.03027, allocations: 0 / 0.8325 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.03028, allocations: 11.92 kB / 0.8325 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.03074, allocations: 496.2 kB / 0.8329 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03074, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.03088, allocations: 43.95 kB / 0.833 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.03102, allocations: 43.64 kB / 0.833 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.03104, allocations: 4 kB / 0.833 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007732/0.03181, allocations: 1.751 MB / 0.8347 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03181, allocations: 0 / 0.8347 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.0322, allocations: 393.9 kB / 0.8351 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.03237, allocations: 115.5 kB / 0.8352 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.03241, allocations: 11.98 kB / 0.8352 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.03261, allocations: 43.92 kB / 0.8353 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.03266, allocations: 11.97 kB / 0.8353 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.03266, allocations: 4 kB / 0.8353 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000429/0.03309, allocations: 479 kB / 0.8357 GB, free: 8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03309, allocations: 0 / 0.8357 GB, free: 8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004551/0.03355, allocations: 187.8 kB / 0.8359 GB, free: 7.816 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001136/0.03366, allocations: 111.1 kB / 0.836 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.03417, allocations: 416.6 kB / 0.8364 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.03417, allocations: 0 / 0.8364 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.03432, allocations: 239.2 kB / 0.8367 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.03484, allocations: 163.4 kB / 0.8368 GB, free: 6.863 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.03644, allocations: 1.151 MB / 0.8379 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.03657, allocations: 197.2 kB / 0.8381 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.03682, allocations: 140.5 kB / 0.8383 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.03692, allocations: 44.42 kB / 0.8383 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of SimCode: time 8.61e-07/0.03692, allocations: 0 / 0.8383 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of Templates: time 0.01125/0.04816, allocations: 8.76 MB / 0.8469 GB, free: 12.73 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.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.553745488170534]