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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001071/0.001071, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001141/0.001141, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.86 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2627, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004067/0.2669, allocations: 2.848 MB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.27, allocations: 2.22 MB / 0.956 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2703, allocations: 11.94 kB / 0.9561 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2714, allocations: 410 kB / 0.9564 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.272, allocations: 270.7 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.2727, allocations: 355.1 kB / 0.957 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.2744, allocations: 1.677 MB / 0.9587 GB, free: 244 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.2747, allocations: 158.3 kB / 0.9588 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.2753, allocations: 0.5883 MB / 0.9594 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.2759, allocations: 482.3 kB / 0.9599 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.276, allocations: 64 kB / 0.9599 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2762, allocations: 68 kB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.2766, allocations: 414.8 kB / 0.9604 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.2771, allocations: 0.5248 MB / 0.9609 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2782, allocations: 1.332 MB / 0.9622 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2782, allocations: 0 / 0.9622 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2782, allocations: 4 kB / 0.9622 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.2782, allocations: 0 / 0.9622 GB, free: 12.62 MB / 0.7481 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.002615/0.2808, allocations: 1.494 MB / 0.9637 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2809, allocations: 12.02 kB / 0.9637 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2811, allocations: 111.6 kB / 0.9638 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.2827, allocations: 0.9922 MB / 0.9647 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.2827, allocations: 33.03 kB / 0.9648 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.2828, allocations: 52.31 kB / 0.9648 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2836, allocations: 0.5471 MB / 0.9654 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2836, allocations: 0 / 0.9654 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2837, allocations: 15.98 kB / 0.9654 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2837, allocations: 8 kB / 0.9654 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.2842, allocations: 349.8 kB / 0.9657 GB, free: 8.863 MB / 0.7481 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.005803/0.29, allocations: 3.839 MB / 0.9695 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.2917, allocations: 0.6624 MB / 0.9701 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.292, allocations: 192.7 kB / 0.9703 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.292, allocations: 4.438 kB / 0.9703 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2921, allocations: 38.56 kB / 0.9703 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.2921, allocations: 0 / 0.9703 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.001248/0.2933, allocations: 0.7635 MB / 0.9711 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2934, allocations: 51.41 kB / 0.9711 GB, free: 3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2951, allocations: 1.421 MB / 0.9725 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.2952, allocations: 37.7 kB / 0.9726 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2955, allocations: 412.8 kB / 0.973 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2956, allocations: 102.6 kB / 0.9731 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.2958, allocations: 154.2 kB / 0.9732 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.296, allocations: 338 kB / 0.9735 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.2964, allocations: 285.1 kB / 0.9738 GB, free: 236 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.297, allocations: 0.5863 MB / 0.9744 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.298, allocations: 0.8743 MB / 0.9752 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.298, allocations: 7.938 kB / 0.9752 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001904/0.2999, allocations: 1.263 MB / 0.9765 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2999, allocations: 8 kB / 0.9765 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3, allocations: 12 kB / 0.9765 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3012, allocations: 454 kB / 0.9769 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.3015, allocations: 111.8 kB / 0.977 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.3072, allocations: 4.694 MB / 0.9816 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3084, allocations: 218.9 kB / 0.9818 GB, free: 7.582 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.3085, allocations: 32 kB / 0.9818 GB, free: 7.551 MB / 0.7637 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.0004742/0.3089, allocations: 438.8 kB / 0.9823 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3091, allocations: 90.88 kB / 0.9823 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.3093, allocations: 104.8 kB / 0.9824 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3093, allocations: 0 / 0.9824 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3093, allocations: 0 / 0.9824 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3093, allocations: 0 / 0.9824 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.3103, allocations: 0.9355 MB / 0.9834 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3103, allocations: 0 / 0.9834 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.3107, allocations: 83.92 kB / 0.9834 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.3109, allocations: 52.75 kB / 0.9835 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.3109, allocations: 19.92 kB / 0.9835 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.312, allocations: 1.515 MB / 0.985 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.312, allocations: 0 / 0.985 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3131, allocations: 0.8255 MB / 0.9858 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.3136, allocations: 299.7 kB / 0.9861 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3138, allocations: 15.98 kB / 0.9861 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.3145, allocations: 99.81 kB / 0.9862 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3145, allocations: 15.98 kB / 0.9862 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3146, allocations: 4 kB / 0.9862 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001263/0.3158, allocations: 0.9978 MB / 0.9872 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3158, allocations: 0 / 0.9872 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001031/0.3169, allocations: 459.8 kB / 0.9876 GB, free: 1.375 MB / 0.7637 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.0001434/0.317, allocations: 115.2 kB / 0.9877 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.3187, allocations: 0.9247 MB / 0.9886 GB, free: 324 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3187, allocations: 0 / 0.9886 GB, free: 324 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.3191, allocations: 326.5 kB / 0.9889 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3203, allocations: 286 kB / 0.9892 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.3233, allocations: 2.297 MB / 0.9915 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.3241, allocations: 1.152 MB / 0.9926 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005183/0.3246, allocations: 258.6 kB / 0.9928 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.3248, allocations: 55.44 kB / 0.9929 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 6.12e-07/0.3248, allocations: 0 / 0.9929 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.02456/0.3493, allocations: 15.56 MB / 1.008 GB, free: 12.53 MB / 0.795 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches