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.008497/0.008497, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001657/0.001657, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.91 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 159.9 MB / 1.226 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004392/0.419, allocations: 2.839 MB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.4225, allocations: 2.223 MB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.4229, allocations: 11.94 kB / 1.231 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4243, allocations: 410.1 kB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005672/0.4249, allocations: 274.7 kB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.4258, allocations: 347.1 kB / 1.231 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.4275, allocations: 1.689 MB / 1.233 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.4278, allocations: 152.2 kB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007187/0.4285, allocations: 0.5883 MB / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.4291, allocations: 482.3 kB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4292, allocations: 64 kB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.4294, allocations: 64 kB / 1.234 GB, free: 148 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.4298, allocations: 410.8 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.4304, allocations: 0.5326 MB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.4317, allocations: 1.339 MB / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4317, allocations: 0 / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4317, allocations: 0 / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.4317, allocations: 0 / 1.237 GB, free: 13.86 MB / 0.9981 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.002575/0.4343, allocations: 1.529 MB / 1.238 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4344, allocations: 8.031 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.4345, allocations: 116.2 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.4359, allocations: 1.009 MB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.436, allocations: 37.02 kB / 1.239 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.4361, allocations: 52.33 kB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.4369, allocations: 0.5432 MB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4369, allocations: 4 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.437, allocations: 8 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.437, allocations: 8 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.4375, allocations: 357.8 kB / 1.24 GB, free: 10.05 MB / 0.9981 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.005929/0.4434, allocations: 3.832 MB / 1.244 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.4452, allocations: 0.6621 MB / 1.245 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.4455, allocations: 200.7 kB / 1.245 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4456, allocations: 4 kB / 1.245 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4456, allocations: 34.56 kB / 1.245 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.4456, allocations: 4 kB / 1.245 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001423/0.4471, allocations: 0.7687 MB / 1.246 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4471, allocations: 55.41 kB / 1.246 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.449, allocations: 1.413 MB / 1.247 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.4491, allocations: 45.64 kB / 1.247 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.4494, allocations: 417.2 kB / 1.247 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.4496, allocations: 119 kB / 1.248 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.4498, allocations: 146.3 kB / 1.248 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.45, allocations: 338 kB / 1.248 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.4504, allocations: 289.1 kB / 1.248 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.451, allocations: 0.5822 MB / 1.249 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.657/1.108, allocations: 0.8772 MB / 1.25 GB, free: 26.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.108, allocations: 4.719 kB / 1.25 GB, free: 26.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002359/1.11, allocations: 1.26 MB / 1.251 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.11, allocations: 17.16 kB / 1.251 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.11, allocations: 11.09 kB / 1.251 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.112, allocations: 445.3 kB / 1.251 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/1.112, allocations: 107.8 kB / 1.252 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/1.117, allocations: 4.701 MB / 1.256 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.118, allocations: 222 kB / 1.256 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/1.119, allocations: 32.56 kB / 1.256 GB, free: 24.68 MB / 0.9981 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.0005511/1.119, allocations: 426.3 kB / 1.257 GB, free: 24.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.119, allocations: 97.97 kB / 1.257 GB, free: 24.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/1.119, allocations: 107 kB / 1.257 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.119, allocations: 2.75 kB / 1.257 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.119, allocations: 2.156 kB / 1.257 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.119, allocations: 1.266 kB / 1.257 GB, free: 24.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/1.12, allocations: 0.9235 MB / 1.258 GB, free: 24.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.12, allocations: 1.688 kB / 1.258 GB, free: 24.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/1.121, allocations: 94.91 kB / 1.258 GB, free: 24.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/1.121, allocations: 42.06 kB / 1.258 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/1.121, allocations: 22.42 kB / 1.258 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007763/1.122, allocations: 1.528 MB / 1.26 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.122, allocations: 0 / 1.26 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/1.123, allocations: 0.8236 MB / 1.26 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.123, allocations: 297.3 kB / 1.261 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.123, allocations: 18.36 kB / 1.261 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/1.124, allocations: 102.3 kB / 1.261 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/1.124, allocations: 25.91 kB / 1.261 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/1.124, allocations: 3.188 kB / 1.261 GB, free: 22.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001204/1.125, allocations: 0.9965 MB / 1.262 GB, free: 22.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.125, allocations: 0 / 1.262 GB, free: 22.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009686/1.126, allocations: 460.4 kB / 1.262 GB, free: 22.29 MB / 0.9981 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.0001194/1.126, allocations: 118.1 kB / 1.262 GB, free: 22.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001592/1.128, allocations: 0.9334 MB / 1.263 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.128, allocations: 5.484 kB / 1.263 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/1.128, allocations: 328.2 kB / 1.264 GB, free: 21.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.129, allocations: 276.6 kB / 1.264 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/1.133, allocations: 2.312 MB / 1.266 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/1.133, allocations: 1.151 MB / 1.267 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005936/1.134, allocations: 260.2 kB / 1.267 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/1.134, allocations: 52.47 kB / 1.267 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.134, allocations: 5.25 kB / 1.267 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.02863/1.163, allocations: 15.74 MB / 1.283 GB, free: 18.78 MB / 0.9981 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