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.001956/0.001956, allocations: 106.6 kB / 16.37 MB, free: 6.477 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.002081/0.002081, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.19 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.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.72 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004599/0.2861, allocations: 2.84 MB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.2902, allocations: 2.22 MB / 0.9561 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.2906, allocations: 7.938 kB / 0.9561 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2919, allocations: 417.9 kB / 0.9565 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.2924, allocations: 270.7 kB / 0.9567 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.2935, allocations: 347.1 kB / 0.957 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.2955, allocations: 1.689 MB / 0.9587 GB, free: 280 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.2957, allocations: 146.3 kB / 0.9588 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.2965, allocations: 0.5961 MB / 0.9594 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.2972, allocations: 478.3 kB / 0.9599 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/0.2973, allocations: 64 kB / 0.9599 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2974, allocations: 64 kB / 0.96 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.2979, allocations: 418.8 kB / 0.9604 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005844/0.2985, allocations: 0.5326 MB / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2997, allocations: 1.324 MB / 0.9622 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2997, allocations: 0 / 0.9622 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2997, allocations: 0 / 0.9622 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.2997, allocations: 0 / 0.9622 GB, free: 12.66 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.002842/0.3026, allocations: 1.502 MB / 0.9637 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3027, allocations: 8.031 kB / 0.9637 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3028, allocations: 111.6 kB / 0.9638 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.3045, allocations: 0.9962 MB / 0.9648 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.3045, allocations: 41.03 kB / 0.9648 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.3046, allocations: 48.38 kB / 0.9648 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.3054, allocations: 0.5393 MB / 0.9654 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3054, allocations: 4 kB / 0.9654 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.3054, allocations: 16 kB / 0.9654 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3055, allocations: 11.94 kB / 0.9654 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.3059, allocations: 349.8 kB / 0.9657 GB, free: 8.898 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.005924/0.3119, allocations: 3.835 MB / 0.9695 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3136, allocations: 0.6661 MB / 0.9701 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.3139, allocations: 196.7 kB / 0.9703 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3139, allocations: 4.438 kB / 0.9703 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.314, allocations: 30.56 kB / 0.9704 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.314, allocations: 4 kB / 0.9704 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.001222/0.3152, allocations: 0.7626 MB / 0.9711 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3152, allocations: 55.41 kB / 0.9712 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.317, allocations: 1.425 MB / 0.9725 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.3171, allocations: 37.7 kB / 0.9726 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.3174, allocations: 416.8 kB / 0.973 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3175, allocations: 102.5 kB / 0.9731 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.3177, allocations: 150.2 kB / 0.9732 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3179, allocations: 334 kB / 0.9735 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3183, allocations: 289.1 kB / 0.9738 GB, free: 268 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.3189, allocations: 0.5786 MB / 0.9744 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.3199, allocations: 0.8822 MB / 0.9752 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3199, allocations: 0 / 0.9752 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001913/0.3218, allocations: 1.263 MB / 0.9765 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3219, allocations: 8 kB / 0.9765 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3219, allocations: 12 kB / 0.9765 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.3231, allocations: 456.7 kB / 0.9769 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3234, allocations: 111.8 kB / 0.977 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/0.3291, allocations: 4.681 MB / 0.9816 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3303, allocations: 222.9 kB / 0.9818 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3303, allocations: 32 kB / 0.9818 GB, free: 7.594 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.0004868/0.3308, allocations: 443.7 kB / 0.9823 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.331, allocations: 86.88 kB / 0.9824 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.3311, allocations: 100.8 kB / 0.9825 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3311, allocations: 4 kB / 0.9825 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3311, allocations: 0 / 0.9825 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3311, allocations: 4 kB / 0.9825 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.3321, allocations: 0.9277 MB / 0.9834 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3321, allocations: 4 kB / 0.9834 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.3325, allocations: 91.91 kB / 0.9835 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.3327, allocations: 44.75 kB / 0.9835 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.3327, allocations: 19.98 kB / 0.9835 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3339, allocations: 1.523 MB / 0.985 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3339, allocations: 0 / 0.985 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3349, allocations: 0.8312 MB / 0.9858 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.3355, allocations: 291.7 kB / 0.9861 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3356, allocations: 19.98 kB / 0.9861 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.3362, allocations: 91.83 kB / 0.9862 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.3363, allocations: 19.97 kB / 0.9862 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3363, allocations: 7.938 kB / 0.9862 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001277/0.3376, allocations: 1.002 MB / 0.9872 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.452e-06/0.3376, allocations: 96 / 0.9872 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001033/0.3387, allocations: 459.8 kB / 0.9876 GB, free: 1.402 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.0001487/0.3388, allocations: 112 kB / 0.9878 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.3406, allocations: 0.9244 MB / 0.9887 GB, free: 356 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3406, allocations: 0 / 0.9887 GB, free: 356 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.341, allocations: 327.9 kB / 0.989 GB, free: 16 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3422, allocations: 286.9 kB / 0.9892 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.3454, allocations: 2.29 MB / 0.9915 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.3463, allocations: 1.148 MB / 0.9926 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005704/0.3469, allocations: 262.5 kB / 0.9928 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3471, allocations: 51.44 kB / 0.9929 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.3471, allocations: 0 / 0.9929 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.02621/0.3733, allocations: 15.55 MB / 1.008 GB, free: 12.58 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 cvode -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