Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008341/0.008342, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001325/0.001325, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.12 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8995, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004283/0.9038, allocations: 2.837 MB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.9073, allocations: 2.209 MB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.9077, allocations: 15.88 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.909, allocations: 406.1 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.9097, allocations: 274.7 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.9107, allocations: 352.5 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.9126, allocations: 1.694 MB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.9128, allocations: 146.3 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00078/0.9136, allocations: 0.5883 MB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.9143, allocations: 482.3 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.9144, allocations: 64 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.9146, allocations: 68 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004546/0.9151, allocations: 414.8 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.9156, allocations: 0.5287 MB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.9169, allocations: 1.331 MB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.917, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.917, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.917, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 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.002765/0.9198, allocations: 1.525 MB / 1.179 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.9198, allocations: 20.86 kB / 1.179 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.92, allocations: 112.2 kB / 1.179 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.9215, allocations: 1.005 MB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.9216, allocations: 33.03 kB / 1.18 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.9217, allocations: 56.33 kB / 1.18 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.9225, allocations: 0.5471 MB / 1.181 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.9225, allocations: 0 / 1.181 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.9226, allocations: 15.98 kB / 1.181 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.9226, allocations: 8 kB / 1.181 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.9232, allocations: 349.9 kB / 1.181 GB, free: 4.617 MB / 0.9044 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.006066/0.9292, allocations: 3.839 MB / 1.185 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.931, allocations: 0.6623 MB / 1.186 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.9313, allocations: 204.6 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.9313, allocations: 0 / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.9314, allocations: 42.56 kB / 1.186 GB, free: 15.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.9314, allocations: 0 / 1.186 GB, free: 15.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.00147/0.9329, allocations: 0.7606 MB / 1.187 GB, free: 14.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.9329, allocations: 55.34 kB / 1.187 GB, free: 14.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.9348, allocations: 1.417 MB / 1.188 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.9349, allocations: 37.7 kB / 1.188 GB, free: 13.26 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.9353, allocations: 425.2 kB / 1.188 GB, free: 12.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.9355, allocations: 111 kB / 1.189 GB, free: 12.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.9357, allocations: 150.3 kB / 1.189 GB, free: 12.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9358, allocations: 338 kB / 1.189 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.9362, allocations: 285.1 kB / 1.189 GB, free: 11.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.937, allocations: 0.594 MB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9382, allocations: 0.8836 MB / 1.191 GB, free: 10.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.9382, allocations: 8 kB / 1.191 GB, free: 10.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002315/0.9405, allocations: 1.251 MB / 1.192 GB, free: 8.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.9406, allocations: 8 kB / 1.192 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.9406, allocations: 12.31 kB / 1.192 GB, free: 8.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.942, allocations: 458 kB / 1.192 GB, free: 8.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.9423, allocations: 107.8 kB / 1.193 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.9487, allocations: 4.699 MB / 1.197 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.9501, allocations: 223.2 kB / 1.197 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.9501, allocations: 28 kB / 1.197 GB, free: 3.27 MB / 0.92 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.0006072/0.9508, allocations: 429.4 kB / 1.198 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.9509, allocations: 99.34 kB / 1.198 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.9511, allocations: 104.8 kB / 1.198 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.9511, allocations: 0 / 1.198 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9511, allocations: 0 / 1.198 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9511, allocations: 4 kB / 1.198 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.9523, allocations: 0.9317 MB / 1.199 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9523, allocations: 0 / 1.199 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.9527, allocations: 91.86 kB / 1.199 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001527/0.9529, allocations: 44.81 kB / 1.199 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.9529, allocations: 15.98 kB / 1.199 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.9543, allocations: 1.531 MB / 1.201 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9543, allocations: 0 / 1.201 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.9555, allocations: 0.8268 MB / 1.201 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.9559, allocations: 304.3 kB / 1.202 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.956, allocations: 15.98 kB / 1.202 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.9567, allocations: 100 kB / 1.202 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.9567, allocations: 15.98 kB / 1.202 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.9568, allocations: 7.938 kB / 1.202 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001418/0.9582, allocations: 0.9978 MB / 1.203 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9582, allocations: 0 / 1.203 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001222/0.9594, allocations: 459.8 kB / 1.203 GB, free: 13.07 MB / 0.9356 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.0001804/0.9596, allocations: 115.3 kB / 1.203 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.9615, allocations: 0.9359 MB / 1.204 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9615, allocations: 0.75 kB / 1.204 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.962, allocations: 330.4 kB / 1.205 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.9632, allocations: 282.2 kB / 1.205 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.9665, allocations: 2.311 MB / 1.207 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.9673, allocations: 1.156 MB / 1.208 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005855/0.9679, allocations: 254.6 kB / 1.208 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.9681, allocations: 59.44 kB / 1.208 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.9681, allocations: 0 / 1.208 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.02556/0.9937, allocations: 15.74 MB / 1.224 GB, free: 8.016 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches