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.001437/0.001437, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00162/0.00162, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.915/2.915, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.159e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004851/0.004882, allocations: 2.605 MB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005208/0.01009, allocations: 2.624 MB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.01048, allocations: 7.938 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.01228, allocations: 493.2 kB / 0.8163 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.01319, allocations: 308 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.01453, allocations: 421.8 kB / 0.817 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.01709, allocations: 1.543 MB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.01735, allocations: 70.42 kB / 0.8186 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.0188, allocations: 0.6015 MB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/0.01967, allocations: 399.1 kB / 0.8196 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.01982, allocations: 48.88 kB / 0.8196 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.02004, allocations: 59.98 kB / 0.8197 GB, free: 9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.02045, allocations: 311.7 kB / 0.82 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.02094, allocations: 251.4 kB / 0.8202 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.0222, allocations: 0.9125 MB / 0.8211 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.02221, allocations: 4 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02221, allocations: 0 / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.458e-05/0.02224, allocations: 0.8125 kB / 0.8211 GB, free: 7.531 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.002707/0.02494, allocations: 1.085 MB / 0.8222 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.02498, allocations: 8.031 kB / 0.8222 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.0253, allocations: 108.4 kB / 0.8223 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.02656, allocations: 0.6453 MB / 0.8229 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.0266, allocations: 24.88 kB / 0.8229 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.02669, allocations: 44.38 kB / 0.823 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.02737, allocations: 375.1 kB / 0.8233 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.02739, allocations: 4.625 kB / 0.8233 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.02742, allocations: 8.688 kB / 0.8234 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.02743, allocations: 8 kB / 0.8234 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.02792, allocations: 243 kB / 0.8236 GB, free: 4.922 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.03186, allocations: 1.757 MB / 0.8253 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.03303, allocations: 386.2 kB / 0.8257 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.03328, allocations: 128.8 kB / 0.8258 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.0333, allocations: 5.062 kB / 0.8258 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.03334, allocations: 34.56 kB / 0.8258 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.03334, allocations: 1.094 kB / 0.8258 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.001186/0.03453, allocations: 479.1 kB / 0.8263 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.03458, allocations: 51.41 kB / 0.8263 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.03606, allocations: 0.9268 MB / 0.8273 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.03611, allocations: 37.7 kB / 0.8273 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.03646, allocations: 312.7 kB / 0.8276 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.03656, allocations: 71.89 kB / 0.8277 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.03677, allocations: 125.9 kB / 0.8278 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.03703, allocations: 378.8 kB / 0.8281 GB, free: 160 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.03748, allocations: 237.1 kB / 0.8284 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.03819, allocations: 0.4984 MB / 0.8288 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.03927, allocations: 0.6941 MB / 0.8295 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.03928, allocations: 4 kB / 0.8295 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001597/0.04088, allocations: 0.8448 MB / 0.8304 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.0409, allocations: 8 kB / 0.8304 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.04092, allocations: 12 kB / 0.8304 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.04129, allocations: 81.38 kB / 0.8305 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.04182, allocations: 131.8 kB / 0.8306 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.04345, allocations: 1.428 MB / 0.832 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.04425, allocations: 131.6 kB / 0.8321 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.0443, allocations: 24 kB / 0.8321 GB, free: 11.71 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.0004805/0.04478, allocations: 341.4 kB / 0.8324 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.04493, allocations: 79.47 kB / 0.8325 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.04507, allocations: 65.86 kB / 0.8326 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.04508, allocations: 4 kB / 0.8326 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.04508, allocations: 0 / 0.8326 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.04509, allocations: 3.938 kB / 0.8326 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.04578, allocations: 428.9 kB / 0.833 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.04579, allocations: 4 kB / 0.833 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.04608, allocations: 51.95 kB / 0.8331 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.04636, allocations: 52.8 kB / 0.8331 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.04639, allocations: 8 kB / 0.8331 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.04789, allocations: 1.405 MB / 0.8345 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04789, allocations: 0 / 0.8345 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.04888, allocations: 0.5713 MB / 0.835 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.0492, allocations: 135.5 kB / 0.8352 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.04929, allocations: 8.109 kB / 0.8352 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.04975, allocations: 55.91 kB / 0.8352 GB, free: 8.359 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.04982, allocations: 15.97 kB / 0.8352 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.04983, allocations: 8.125 kB / 0.8353 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001072/0.0509, allocations: 0.6512 MB / 0.8359 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0509, allocations: 0 / 0.8359 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007281/0.05163, allocations: 183.9 kB / 0.8361 GB, free: 7.512 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.0001702/0.0518, allocations: 107.2 kB / 0.8362 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.0529, allocations: 0.5582 MB / 0.8367 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0529, allocations: 0 / 0.8367 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.05331, allocations: 247 kB / 0.837 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.05418, allocations: 175.9 kB / 0.8371 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.0566, allocations: 1.429 MB / 0.8385 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.05713, allocations: 400.8 kB / 0.8389 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.05759, allocations: 184.5 kB / 0.8391 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.05773, allocations: 36.5 kB / 0.8391 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of SimCode: time 9.31e-07/0.05773, allocations: 0 / 0.8391 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of Templates: time 0.01795/0.07568, allocations: 8.809 MB / 0.8477 GB, free: 11.71 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.089043697924353]