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.0009512/0.000951, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001072/0.001072, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003873, allocations: 9.75 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.394, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003404/0.3974, allocations: 2.422 MB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00352/0.401, allocations: 2.07 MB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.4015, allocations: 7.938 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4028, allocations: 362.4 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.4034, allocations: 242.9 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.4044, allocations: 247.5 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.4065, allocations: 1.525 MB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.4068, allocations: 129.7 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4078, allocations: 0.5688 MB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.4089, allocations: 0.5647 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.4091, allocations: 36 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.4094, allocations: 44 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.4098, allocations: 339 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.4102, allocations: 209.2 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4115, allocations: 1.087 MB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4115, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4115, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.886e-05/0.4116, allocations: 0 / 1.068 GB, free: 11.49 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.003376/0.4149, allocations: 1.356 MB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.415, allocations: 8.031 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.4155, allocations: 110.7 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.4177, allocations: 0.9411 MB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.4178, allocations: 40.61 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.4179, allocations: 51.91 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.419, allocations: 0.5433 MB / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.419, allocations: 7.875 kB / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.4191, allocations: 19.92 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4191, allocations: 12 kB / 1.071 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.4197, allocations: 345.9 kB / 1.071 GB, free: 7.91 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.006762/0.4265, allocations: 3.882 MB / 1.075 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.4281, allocations: 0.6627 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.4284, allocations: 196.7 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.4285, allocations: 0 / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4285, allocations: 42.56 kB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.4285, allocations: 3.938 kB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.001475/0.43, allocations: 0.7577 MB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4301, allocations: 59.41 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.4323, allocations: 1.432 MB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.4324, allocations: 37.7 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.4328, allocations: 416.8 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.433, allocations: 110.6 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.433, allocations: 12 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4332, allocations: 334 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.4337, allocations: 292.9 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.4343, allocations: 0.5824 MB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.4349, allocations: 383.5 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.4349, allocations: 4 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001994/0.4369, allocations: 1.24 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.437, allocations: 10.03 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.437, allocations: 16.27 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4382, allocations: 459.7 kB / 1.082 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.4385, allocations: 107.8 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.4442, allocations: 4.403 MB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4455, allocations: 227 kB / 1.086 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.4456, allocations: 32 kB / 1.086 GB, free: 7.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006503/0.4463, allocations: 433.2 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.4465, allocations: 90.78 kB / 1.087 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.4468, allocations: 108.8 kB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4468, allocations: 4 kB / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.4468, allocations: 0 / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4468, allocations: 3.938 kB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.448, allocations: 0.9394 MB / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.448, allocations: 0 / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.4484, allocations: 95.84 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.4486, allocations: 36.83 kB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.4486, allocations: 15.98 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.4498, allocations: 1.428 MB / 1.089 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4498, allocations: 3.938 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.451, allocations: 0.8297 MB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.4515, allocations: 299.8 kB / 1.09 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.4517, allocations: 19.98 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/0.4525, allocations: 99.73 kB / 1.09 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4525, allocations: 19.97 kB / 1.091 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4526, allocations: 8 kB / 1.091 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001576/0.4541, allocations: 1.002 MB / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4542, allocations: 0 / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001369/0.4555, allocations: 463.8 kB / 1.092 GB, free: 1.508 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.4557, allocations: 117.5 kB / 1.092 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.4575, allocations: 0.9195 MB / 1.093 GB, free: 468 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4575, allocations: 0 / 1.093 GB, free: 468 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.458, allocations: 326.5 kB / 1.093 GB, free: 128 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4593, allocations: 257.1 kB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.4636, allocations: 2.656 MB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.4645, allocations: 1.164 MB / 1.097 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006293/0.4652, allocations: 242.5 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.4654, allocations: 55.42 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.4654, allocations: 0 / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.02608/0.4915, allocations: 14.39 MB / 1.112 GB, free: 13.49 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