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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001358/0.001358, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 60.84 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00443/0.3227, allocations: 2.89 MB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3266, allocations: 2.212 MB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.3272, allocations: 11.94 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.3287, allocations: 390.3 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007468/0.3296, allocations: 258.8 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3307, allocations: 311.5 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3332, allocations: 1.724 MB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3335, allocations: 142.4 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.3345, allocations: 0.6428 MB / 1.061 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/0.3355, allocations: 0.6114 MB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3357, allocations: 72 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3359, allocations: 84 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.3363, allocations: 379 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007948/0.3371, allocations: 0.5287 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3383, allocations: 1.328 MB / 1.064 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3383, allocations: 0 / 1.064 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3384, allocations: 4 kB / 1.064 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.557e-05/0.3384, allocations: 4 kB / 1.064 GB, free: 13.13 MB / 0.8262 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.003142/0.3415, allocations: 1.5 MB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3416, allocations: 12.62 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.3419, allocations: 107.6 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.3436, allocations: 0.9728 MB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.3436, allocations: 29.03 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3437, allocations: 56.28 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.3445, allocations: 0.5471 MB / 1.067 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3445, allocations: 3.938 kB / 1.067 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.3446, allocations: 12 kB / 1.067 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.3446, allocations: 11.94 kB / 1.067 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3451, allocations: 345.9 kB / 1.067 GB, free: 9.395 MB / 0.8262 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.006117/0.3512, allocations: 3.866 MB / 1.071 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.353, allocations: 0.6505 MB / 1.071 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3533, allocations: 196.7 kB / 1.072 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3533, allocations: 0 / 1.072 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3533, allocations: 38.55 kB / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.3533, allocations: 0 / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001382/0.3547, allocations: 0.7658 MB / 1.072 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3548, allocations: 51.41 kB / 1.072 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.3569, allocations: 1.436 MB / 1.074 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3569, allocations: 37.7 kB / 1.074 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.3573, allocations: 420.7 kB / 1.074 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3574, allocations: 98.56 kB / 1.074 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.3577, allocations: 158.2 kB / 1.075 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3578, allocations: 334 kB / 1.075 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.3582, allocations: 285.1 kB / 1.075 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.3589, allocations: 0.5902 MB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.3599, allocations: 0.8824 MB / 1.077 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.3599, allocations: 4 kB / 1.077 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002055/0.362, allocations: 1.258 MB / 1.078 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.362, allocations: 8 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.3621, allocations: 12 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.3634, allocations: 452.7 kB / 1.078 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3637, allocations: 115.8 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.3696, allocations: 4.693 MB / 1.083 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.3711, allocations: 227 kB / 1.083 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.3712, allocations: 36 kB / 1.083 GB, free: 8.027 MB / 0.8419 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.0006675/0.3718, allocations: 429.2 kB / 1.084 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.3722, allocations: 90.78 kB / 1.084 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3724, allocations: 104.8 kB / 1.084 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3724, allocations: 4 kB / 1.084 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3724, allocations: 0 / 1.084 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3724, allocations: 3.984 kB / 1.084 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3737, allocations: 0.9355 MB / 1.085 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3737, allocations: 0 / 1.085 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.3741, allocations: 87.86 kB / 1.085 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.3743, allocations: 44.81 kB / 1.085 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.3743, allocations: 15.98 kB / 1.085 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.3755, allocations: 1.531 MB / 1.086 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3755, allocations: 0 / 1.086 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3767, allocations: 0.8262 MB / 1.087 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.3772, allocations: 295.8 kB / 1.087 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.3773, allocations: 11.98 kB / 1.087 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.3781, allocations: 111.8 kB / 1.088 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3782, allocations: 15.98 kB / 1.088 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3782, allocations: 7.938 kB / 1.088 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001493/0.3797, allocations: 1.01 MB / 1.089 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3797, allocations: 0 / 1.089 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001227/0.381, allocations: 463.8 kB / 1.089 GB, free: 1.82 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.0001756/0.3811, allocations: 119.2 kB / 1.089 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.3831, allocations: 0.9821 MB / 1.09 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3831, allocations: 0 / 1.09 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.3835, allocations: 327.9 kB / 1.09 GB, free: 376 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3849, allocations: 276.7 kB / 1.091 GB, free: 96 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.3885, allocations: 2.548 MB / 1.093 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.3893, allocations: 1.156 MB / 1.094 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.3899, allocations: 242.5 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3901, allocations: 51.44 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of SimCode: time 7.81e-07/0.3901, allocations: 3.938 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Templates: time 0.02481/0.415, allocations: 15.65 MB / 1.11 GB, free: 12.59 MB / 0.8731 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches