Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005025/0.005025, allocations: 98.44 kB / 15.73 MB, free: 6.012 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.001152/0.001152, allocations: 197 kB / 16.67 MB, free: 5.949 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.901/2.901, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3558, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02534/0.3812, allocations: 22.68 MB / 1.243 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7867/1.168, allocations: 17.65 MB / 1.26 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004237/1.172, allocations: 113.1 kB / 1.26 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01222/1.184, allocations: 4.197 MB / 1.264 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01421/1.199, allocations: 3.58 MB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/1.203, allocations: 1.308 MB / 1.269 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01245/1.216, allocations: 5.78 MB / 1.275 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009683/1.226, allocations: 2.804 MB / 1.277 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008353/1.234, allocations: 2.489 MB / 1.28 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007988/1.242, allocations: 2.438 MB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002474/1.244, allocations: 369.9 kB / 1.283 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/1.25, allocations: 1.042 MB / 1.284 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003891/1.254, allocations: 1.263 MB / 1.285 GB, free: 0 / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007673/1.261, allocations: 1.995 MB / 1.287 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/1.277, allocations: 5.189 MB / 1.292 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/1.277, allocations: 1.969 kB / 1.292 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/1.277, allocations: 0 / 1.292 GB, free: 13.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003808/1.277, allocations: 4 kB / 1.292 GB, free: 13.01 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.02257/1.3, allocations: 4.723 MB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/1.3, allocations: 9.312 kB / 1.296 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/1.319, allocations: 3.285 MB / 1.3 GB, free: 9.945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/1.328, allocations: 2.249 MB / 1.302 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007439/1.328, allocations: 467.4 kB / 1.302 GB, free: 8.387 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/1.331, allocations: 238.7 kB / 1.303 GB, free: 8.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/1.349, allocations: 4.816 MB / 1.307 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/1.349, allocations: 1.156 kB / 1.307 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/1.351, allocations: 110.8 kB / 1.307 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/1.351, allocations: 174.4 kB / 1.308 GB, free: 6.449 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/1.369, allocations: 5.192 MB / 1.313 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03558/1.404, allocations: 14.41 MB / 1.327 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/1.415, allocations: 3.269 MB / 1.33 GB, free: 6.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00443/1.419, allocations: 1.365 MB / 1.331 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/1.419, allocations: 24.77 kB / 1.331 GB, free: 6.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005137/1.425, allocations: 1.8 MB / 1.333 GB, free: 5.113 MB / 1.029 GB Notification: Performance of pre-optimization done (n=163): time 1.202e-05/1.425, allocations: 0 / 1.333 GB, free: 5.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=250): time 0.1318/1.556, allocations: 28.22 MB / 1.361 GB, free: 2.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/1.557, allocations: 0.4953 MB / 1.361 GB, free: 1.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/1.561, allocations: 2.296 MB / 1.363 GB, free: 15.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0006669/1.562, allocations: 77.7 kB / 1.363 GB, free: 15.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.564, allocations: 1.458 MB / 1.365 GB, free: 14.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/1.565, allocations: 0.8577 MB / 1.366 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/1.567, allocations: 420.5 kB / 1.366 GB, free: 12.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/1.567, allocations: 301.1 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005218/1.572, allocations: 1.937 MB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005503/1.577, allocations: 2.223 MB / 1.37 GB, free: 8.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.588, allocations: 4.158 MB / 1.374 GB, free: 4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.588, allocations: 0 / 1.374 GB, free: 4 MB / 1.061 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01906/1.607, allocations: 6.482 MB / 1.381 GB, free: 13.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.607, allocations: 150.8 kB / 1.381 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.607, allocations: 4.344 kB / 1.381 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/1.617, allocations: 2.933 MB / 1.384 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.62, allocations: 487.2 kB / 1.384 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04038/1.661, allocations: 18.87 MB / 1.403 GB, free: 6.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/1.665, allocations: 320.7 kB / 1.403 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005795/1.666, allocations: 87.97 kB / 1.403 GB, free: 6.332 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002061/1.668, allocations: 0.7183 MB / 1.404 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.669, allocations: 349.8 kB / 1.404 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/1.67, allocations: 376.1 kB / 1.404 GB, free: 4.887 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.67, allocations: 24 kB / 1.404 GB, free: 4.863 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.461e-05/1.67, allocations: 8 kB / 1.404 GB, free: 4.855 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.67, allocations: 11.95 kB / 1.404 GB, free: 4.844 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/1.677, allocations: 3.627 MB / 1.408 GB, free: 1.203 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/1.677, allocations: 4 kB / 1.408 GB, free: 1.199 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.679, allocations: 415.4 kB / 1.408 GB, free: 0.793 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/1.689, allocations: 2.876 MB / 1.411 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007291/1.69, allocations: 51.97 kB / 1.411 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04228/1.732, allocations: 18.63 MB / 1.429 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.732, allocations: 4.156 kB / 1.429 GB, free: 10.94 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.752, allocations: 6.104 MB / 1.435 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.755, allocations: 0.7134 MB / 1.436 GB, free: 4.074 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/1.757, allocations: 48 kB / 1.436 GB, free: 4.027 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/1.761, allocations: 319.5 kB / 1.436 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/1.763, allocations: 350.7 kB / 1.437 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004253/1.763, allocations: 71.97 kB / 1.437 GB, free: 3.301 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004142/1.767, allocations: 1.532 MB / 1.438 GB, free: 1.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.767, allocations: 0 / 1.438 GB, free: 1.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005431/1.773, allocations: 1.047 MB / 1.439 GB, free: 0.7227 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007385/1.773, allocations: 167 kB / 1.44 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0231/1.796, allocations: 6.318 MB / 1.446 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.796, allocations: 0 / 1.446 GB, free: 10.14 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/1.814, allocations: 3.93 MB / 1.45 GB, free: 6.184 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00766/1.821, allocations: 1.134 MB / 1.451 GB, free: 5.086 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.84, allocations: 6.804 MB / 1.457 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/1.843, allocations: 2.231 MB / 1.459 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00412/1.847, allocations: 0.5099 MB / 1.46 GB, free: 11.48 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.849, allocations: 191.4 kB / 1.46 GB, free: 11.29 MB / 1.154 GB Notification: Performance of SimCode: time 3.176e-06/1.849, allocations: 0 / 1.46 GB, free: 11.29 MB / 1.154 GB Notification: Performance of Templates: time 0.1327/1.981, allocations: 75.98 MB / 1.534 GB, free: 268 kB / 1.217 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches