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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001637/0.001637, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 61.12 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003989/0.3398, allocations: 2.838 MB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003298/0.3431, allocations: 2.227 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.3434, allocations: 11.94 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3447, allocations: 414 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.3452, allocations: 266.7 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.346, allocations: 354.5 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3476, allocations: 1.677 MB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3479, allocations: 142.4 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.3485, allocations: 0.5883 MB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.3492, allocations: 0.588 MB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3494, allocations: 72 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.3496, allocations: 84 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.3499, allocations: 378.9 kB / 1.078 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.3504, allocations: 0.5287 MB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.3515, allocations: 1.32 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3515, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3515, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.3515, allocations: 3.938 kB / 1.079 GB, free: 14.93 MB / 0.8419 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.002805/0.3543, allocations: 1.504 MB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3544, allocations: 8.031 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3546, allocations: 111.6 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3561, allocations: 0.9612 MB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3561, allocations: 44.97 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.3562, allocations: 52.28 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.3569, allocations: 0.5471 MB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.357, allocations: 4 kB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.357, allocations: 12 kB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.357, allocations: 8 kB / 1.083 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.3576, allocations: 349.8 kB / 1.083 GB, free: 11.19 MB / 0.8419 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.005662/0.3632, allocations: 3.851 MB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3649, allocations: 0.666 MB / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.3652, allocations: 204.7 kB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3652, allocations: 4 kB / 1.087 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3653, allocations: 30.56 kB / 1.088 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.3653, allocations: 0 / 1.088 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.001229/0.3665, allocations: 0.7664 MB / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.3665, allocations: 55.41 kB / 1.088 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.3683, allocations: 1.436 MB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.3683, allocations: 41.64 kB / 1.09 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.3687, allocations: 416.8 kB / 1.09 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.3688, allocations: 106.5 kB / 1.09 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.369, allocations: 154.2 kB / 1.09 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3691, allocations: 338 kB / 1.091 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3695, allocations: 289.1 kB / 1.091 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.3701, allocations: 0.5824 MB / 1.092 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.3711, allocations: 0.8754 MB / 1.092 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3711, allocations: 4 kB / 1.092 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001873/0.373, allocations: 1.254 MB / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.373, allocations: 15.98 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.373, allocations: 8 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.3742, allocations: 453.6 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.3745, allocations: 111.8 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.38, allocations: 4.69 MB / 1.099 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3813, allocations: 222.9 kB / 1.099 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.3813, allocations: 32 kB / 1.099 GB, free: 9.832 MB / 0.8575 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.0004738/0.3818, allocations: 433.3 kB / 1.099 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3819, allocations: 90.78 kB / 1.1 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3821, allocations: 104.8 kB / 1.1 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3821, allocations: 4 kB / 1.1 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3821, allocations: 0 / 1.1 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3821, allocations: 7.922 kB / 1.1 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3832, allocations: 0.9316 MB / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3832, allocations: 0 / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3836, allocations: 91.91 kB / 1.101 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.3838, allocations: 44.83 kB / 1.101 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.3838, allocations: 19.98 kB / 1.101 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3849, allocations: 1.527 MB / 1.102 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3849, allocations: 0 / 1.102 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.3859, allocations: 0.8243 MB / 1.103 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.3863, allocations: 299.8 kB / 1.103 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3864, allocations: 16.17 kB / 1.103 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/0.3872, allocations: 99.81 kB / 1.103 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3873, allocations: 19.91 kB / 1.103 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.3873, allocations: 8 kB / 1.103 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001338/0.3886, allocations: 1.013 MB / 1.104 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3886, allocations: 0 / 1.104 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001135/0.3898, allocations: 459.8 kB / 1.105 GB, free: 3.617 MB / 0.8575 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.0001616/0.3899, allocations: 115.8 kB / 1.105 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.3917, allocations: 0.9905 MB / 1.106 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3917, allocations: 0 / 1.106 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.3921, allocations: 326.6 kB / 1.106 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.3933, allocations: 277.7 kB / 1.107 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.3963, allocations: 2.31 MB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.397, allocations: 1.148 MB / 1.11 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005156/0.3976, allocations: 242.5 kB / 1.11 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3977, allocations: 51.44 kB / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.3977, allocations: 0 / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.02319/0.4209, allocations: 15.68 MB / 1.125 GB, free: 14.59 MB / 0.8887 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