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.001124/0.001124, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.001134/0.001134, allocations: 191.7 kB / 17.31 MB, free: 5.613 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 55.44 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3492, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004035/0.3533, allocations: 2.841 MB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3564, allocations: 2.216 MB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.3567, allocations: 15.94 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.358, allocations: 418 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.3586, allocations: 266.7 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.3594, allocations: 347.1 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.3611, allocations: 1.689 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3614, allocations: 150.3 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.3621, allocations: 0.5845 MB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.3627, allocations: 494.1 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-05/0.3628, allocations: 64 kB / 1.036 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.363, allocations: 68 kB / 1.036 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.3635, allocations: 406.9 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.364, allocations: 0.5248 MB / 1.037 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3651, allocations: 1.328 MB / 1.038 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3651, allocations: 3.938 kB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3651, allocations: 0 / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.3651, allocations: 0 / 1.038 GB, free: 6.602 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.002617/0.3677, allocations: 1.502 MB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3678, allocations: 12.03 kB / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.3679, allocations: 107.6 kB / 1.039 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.3696, allocations: 0.9923 MB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3696, allocations: 29.03 kB / 1.04 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.3697, allocations: 64.28 kB / 1.04 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.3706, allocations: 0.5393 MB / 1.041 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3706, allocations: 7.938 kB / 1.041 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.3706, allocations: 12 kB / 1.041 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3706, allocations: 11.98 kB / 1.041 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.3712, allocations: 353.8 kB / 1.041 GB, free: 2.832 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.006192/0.3774, allocations: 3.827 MB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.3792, allocations: 0.6582 MB / 1.046 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.3795, allocations: 204.7 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3795, allocations: 4 kB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3795, allocations: 34.56 kB / 1.046 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/0.3796, allocations: 0 / 1.046 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001572/0.3811, allocations: 0.7619 MB / 1.047 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3812, allocations: 59.41 kB / 1.047 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.3832, allocations: 1.417 MB / 1.048 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.3832, allocations: 33.7 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.3836, allocations: 424.7 kB / 1.049 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3837, allocations: 98.56 kB / 1.049 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.3839, allocations: 154.2 kB / 1.049 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3841, allocations: 334 kB / 1.049 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.3845, allocations: 289.1 kB / 1.049 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.3851, allocations: 0.5824 MB / 1.05 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3861, allocations: 0.876 MB / 1.051 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.3861, allocations: 4 kB / 1.051 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001958/0.3881, allocations: 1.262 MB / 1.052 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3881, allocations: 8 kB / 1.052 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3881, allocations: 12 kB / 1.052 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.3893, allocations: 449.8 kB / 1.053 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.3896, allocations: 107.8 kB / 1.053 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.3953, allocations: 4.692 MB / 1.057 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.3965, allocations: 227 kB / 1.057 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.3966, allocations: 36 kB / 1.057 GB, free: 1.52 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.0004841/0.3971, allocations: 425.2 kB / 1.058 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3972, allocations: 94.78 kB / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.3974, allocations: 104.8 kB / 1.058 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3974, allocations: 3.938 kB / 1.058 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3974, allocations: 15.92 kB / 1.058 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3974, allocations: 0 / 1.058 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.3984, allocations: 0.9277 MB / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3984, allocations: 0 / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.3988, allocations: 91.91 kB / 1.059 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.399, allocations: 36.83 kB / 1.059 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.399, allocations: 23.98 kB / 1.059 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.4001, allocations: 1.527 MB / 1.061 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4002, allocations: 0 / 1.061 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4012, allocations: 0.8224 MB / 1.061 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.4017, allocations: 291.8 kB / 1.062 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4019, allocations: 15.98 kB / 1.062 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.4025, allocations: 103.9 kB / 1.062 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.4026, allocations: 19.97 kB / 1.062 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4026, allocations: 4 kB / 1.062 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001362/0.404, allocations: 0.9939 MB / 1.063 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.404, allocations: 0 / 1.063 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001159/0.4052, allocations: 459.8 kB / 1.063 GB, free: 11.34 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.0001665/0.4053, allocations: 119.3 kB / 1.063 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.4072, allocations: 0.9245 MB / 1.064 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4072, allocations: 0 / 1.064 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.4076, allocations: 330.3 kB / 1.065 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.4088, allocations: 280.9 kB / 1.065 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.4121, allocations: 2.272 MB / 1.067 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/0.413, allocations: 1.156 MB / 1.068 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005861/0.4136, allocations: 266.5 kB / 1.068 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4138, allocations: 55.44 kB / 1.069 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4138, allocations: 3.938 kB / 1.069 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.5156/0.9295, allocations: 15.56 MB / 1.084 GB, free: 52.5 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 cvode -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