Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 194.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.673, allocations: 140.4 MB / 0.9489 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003323/0.6763, allocations: 2.877 MB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.6789, allocations: 2.241 MB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.6792, allocations: 10.47 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.6803, allocations: 373.8 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.6808, allocations: 267.2 kB / 0.9545 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.6815, allocations: 288.1 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.6831, allocations: 1.836 MB / 0.9566 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.6834, allocations: 150.2 kB / 0.9567 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006779/0.6841, allocations: 0.5478 MB / 0.9573 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.6847, allocations: 0.5598 MB / 0.9578 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.6848, allocations: 38.28 kB / 0.9578 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.685, allocations: 47.5 kB / 0.9579 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.6852, allocations: 334.7 kB / 0.9582 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.6857, allocations: 481.1 kB / 0.9587 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008448/0.6865, allocations: 1.298 MB / 0.9599 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6865, allocations: 5.438 kB / 0.9599 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6865, allocations: 0 / 0.9599 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.6866, allocations: 0 / 0.9599 GB, free: 1.621 MB / 0.7169 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.002695/0.6893, allocations: 1.501 MB / 0.9614 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6893, allocations: 9.406 kB / 0.9614 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.6895, allocations: 112.9 kB / 0.9615 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.691, allocations: 0.968 MB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.691, allocations: 34.38 kB / 0.9625 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.6911, allocations: 50.03 kB / 0.9626 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.692, allocations: 0.5487 MB / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.692, allocations: 5.219 kB / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.6921, allocations: 15 kB / 0.9631 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6921, allocations: 8.562 kB / 0.9631 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.6926, allocations: 348.9 kB / 0.9634 GB, free: 15.2 MB / 0.7325 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.006244/0.6989, allocations: 3.858 MB / 0.9672 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.7007, allocations: 0.6577 MB / 0.9679 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.701, allocations: 204.5 kB / 0.9681 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.701, allocations: 2.719 kB / 0.9681 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.7011, allocations: 37.31 kB / 0.9681 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.7011, allocations: 0 / 0.9681 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001528/0.7026, allocations: 0.7616 MB / 0.9688 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7027, allocations: 53.59 kB / 0.9689 GB, free: 11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.7048, allocations: 1.438 MB / 0.9703 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.7049, allocations: 36.02 kB / 0.9703 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.7053, allocations: 413.9 kB / 0.9707 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7055, allocations: 114.4 kB / 0.9708 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.7057, allocations: 152 kB / 0.971 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7059, allocations: 336 kB / 0.9713 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.7063, allocations: 288.2 kB / 0.9716 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.7069, allocations: 0.5772 MB / 0.9721 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7082, allocations: 0.8783 MB / 0.973 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7082, allocations: 8.312 kB / 0.973 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002278/0.7105, allocations: 1.253 MB / 0.9742 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7105, allocations: 13.03 kB / 0.9742 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.7105, allocations: 14.55 kB / 0.9742 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.712, allocations: 457.1 kB / 0.9747 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.7123, allocations: 107.8 kB / 0.9748 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.7182, allocations: 4.395 MB / 0.9791 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.7197, allocations: 219 kB / 0.9793 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.7198, allocations: 36 kB / 0.9793 GB, free: 1.988 MB / 0.7325 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.0006456/0.7205, allocations: 421.4 kB / 0.9797 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.7208, allocations: 94.81 kB / 0.9798 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.721, allocations: 108.8 kB / 0.9799 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7211, allocations: 0 / 0.9799 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.7211, allocations: 7.938 kB / 0.9799 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7211, allocations: 3.984 kB / 0.9799 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.7224, allocations: 0.9278 MB / 0.9808 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7224, allocations: 0 / 0.9808 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.7228, allocations: 91.86 kB / 0.9809 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.723, allocations: 52.75 kB / 0.981 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.7231, allocations: 15.98 kB / 0.981 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.7241, allocations: 1.42 MB / 0.9824 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7242, allocations: 0 / 0.9824 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7253, allocations: 0.8175 MB / 0.9832 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.7259, allocations: 299.8 kB / 0.9835 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.7261, allocations: 19.98 kB / 0.9835 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.727, allocations: 103.8 kB / 0.9836 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.727, allocations: 19.91 kB / 0.9836 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.7271, allocations: 12 kB / 0.9836 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001555/0.7286, allocations: 1.002 MB / 0.9846 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.7286, allocations: 0 / 0.9846 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001399/0.73, allocations: 467.7 kB / 0.985 GB, free: 11.89 MB / 0.7481 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.0001551/0.7302, allocations: 121.1 kB / 0.9851 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.732, allocations: 0.9178 MB / 0.986 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.732, allocations: 0 / 0.986 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.7325, allocations: 327.5 kB / 0.9864 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.734, allocations: 268.2 kB / 0.9866 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.7378, allocations: 2.548 MB / 0.9891 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.7387, allocations: 1.152 MB / 0.9902 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.7393, allocations: 246.5 kB / 0.9905 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.7396, allocations: 51.44 kB / 0.9905 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.7396, allocations: 0 / 0.9905 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of Templates: time 0.02533/0.765, allocations: 15.06 MB / 1.005 GB, free: 7.32 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches