Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001702/0.001702, allocations: 108.1 kB / 16.37 MB, free: 6.48 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.002055/0.002055, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 442.6 MB / 0.7165 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.61 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2708, allocations: 153 MB / 1.027 GB, free: 2.133 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00403/0.2749, allocations: 2.841 MB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2779, allocations: 2.212 MB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.2782, allocations: 11.94 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.2793, allocations: 422 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.2799, allocations: 266.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.2807, allocations: 350.9 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2824, allocations: 1.689 MB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.2826, allocations: 150.3 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007623/0.2834, allocations: 0.5883 MB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.2841, allocations: 486.1 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2842, allocations: 68 kB / 1.036 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2843, allocations: 68 kB / 1.036 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.2847, allocations: 407 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.2853, allocations: 0.5325 MB / 1.037 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009891/0.2863, allocations: 1.328 MB / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2863, allocations: 0 / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2863, allocations: 0 / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.2864, allocations: 0 / 1.038 GB, free: 6.715 MB / 0.8106 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.002666/0.289, allocations: 1.498 MB / 1.039 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2891, allocations: 12.03 kB / 1.039 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2893, allocations: 107.6 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.2909, allocations: 0.9923 MB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.291, allocations: 33.03 kB / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.2911, allocations: 56.28 kB / 1.04 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.2918, allocations: 0.5471 MB / 1.041 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2918, allocations: 7.922 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2918, allocations: 12 kB / 1.041 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2919, allocations: 12 kB / 1.041 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.2923, allocations: 341.9 kB / 1.041 GB, free: 2.957 MB / 0.8106 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.005692/0.298, allocations: 3.839 MB / 1.045 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.2997, allocations: 0.6551 MB / 1.046 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.3, allocations: 196.7 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3, allocations: 4 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3001, allocations: 38.56 kB / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.3001, allocations: 0 / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001187/0.3013, allocations: 0.7619 MB / 1.047 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.3013, allocations: 55.41 kB / 1.047 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.303, allocations: 1.417 MB / 1.048 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.303, allocations: 33.7 kB / 1.048 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3033, allocations: 424.7 kB / 1.049 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3035, allocations: 106.5 kB / 1.049 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3037, allocations: 146.2 kB / 1.049 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3038, allocations: 338 kB / 1.049 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3042, allocations: 285.1 kB / 1.049 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.3047, allocations: 0.5901 MB / 1.05 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/0.3057, allocations: 0.8799 MB / 1.051 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3057, allocations: 4 kB / 1.051 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001805/0.3075, allocations: 1.25 MB / 1.052 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3075, allocations: 10.03 kB / 1.052 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3075, allocations: 12 kB / 1.052 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.3087, allocations: 453.5 kB / 1.053 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.309, allocations: 111.8 kB / 1.053 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/0.3143, allocations: 4.694 MB / 1.057 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3154, allocations: 227 kB / 1.057 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.3155, allocations: 32 kB / 1.057 GB, free: 1.637 MB / 0.8262 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.0004159/0.3159, allocations: 437.1 kB / 1.058 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.316, allocations: 90.78 kB / 1.058 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.3162, allocations: 104.8 kB / 1.058 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3162, allocations: 3.938 kB / 1.058 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3162, allocations: 4 kB / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3162, allocations: 0 / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.3171, allocations: 0.9316 MB / 1.059 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3171, allocations: 0 / 1.059 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3176, allocations: 91.94 kB / 1.059 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.3177, allocations: 44.81 kB / 1.059 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.3177, allocations: 15.98 kB / 1.059 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/0.3187, allocations: 1.523 MB / 1.061 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3188, allocations: 8.188 kB / 1.061 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.3197, allocations: 0.8146 MB / 1.061 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.3203, allocations: 291.8 kB / 1.062 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3204, allocations: 20.08 kB / 1.062 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.3211, allocations: 103.8 kB / 1.062 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3212, allocations: 19.98 kB / 1.062 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3212, allocations: 8 kB / 1.062 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001246/0.3225, allocations: 0.9939 MB / 1.063 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3225, allocations: 0 / 1.063 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001006/0.3235, allocations: 459.8 kB / 1.063 GB, free: 11.45 MB / 0.8419 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.0001202/0.3236, allocations: 116.2 kB / 1.063 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.3252, allocations: 0.929 MB / 1.064 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3252, allocations: 0 / 1.064 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.3256, allocations: 326.6 kB / 1.065 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3268, allocations: 280.6 kB / 1.065 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.3297, allocations: 2.294 MB / 1.067 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.3304, allocations: 1.144 MB / 1.068 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005128/0.331, allocations: 258.6 kB / 1.068 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.3312, allocations: 51.44 kB / 1.068 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3312, allocations: 0 / 1.068 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of Templates: time 0.4794/0.8106, allocations: 15.56 MB / 1.084 GB, free: 52.64 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches