Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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_latest_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.001633/0.001634, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001698/0.001698, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8925, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02655/0.9191, allocations: 22.63 MB / 1.248 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.9458, allocations: 17.64 MB / 1.266 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.9496, allocations: 119.4 kB / 1.266 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.9602, allocations: 4.164 MB / 1.27 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.9715, allocations: 3.572 MB / 1.273 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.9751, allocations: 1.324 MB / 1.275 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008537/0.9837, allocations: 5.788 MB / 1.28 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005612/0.9893, allocations: 3.596 MB / 1.284 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.9938, allocations: 2.48 MB / 1.286 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004836/0.9987, allocations: 2.436 MB / 1.289 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.9999, allocations: 368 kB / 1.289 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/1.003, allocations: 1.041 MB / 1.29 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.005, allocations: 1.192 MB / 1.291 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003711/1.009, allocations: 1.998 MB / 1.293 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007676/1.016, allocations: 5.191 MB / 1.298 GB, free: 3.656 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.016, allocations: 0 / 1.298 GB, free: 3.656 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/1.016, allocations: 0 / 1.298 GB, free: 3.656 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001989/1.016, allocations: 4 kB / 1.298 GB, free: 3.652 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.01202/1.029, allocations: 4.722 MB / 1.303 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.029, allocations: 12.02 kB / 1.303 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/1.045, allocations: 3.275 MB / 1.306 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005827/1.05, allocations: 2.258 MB / 1.308 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/1.051, allocations: 466.3 kB / 1.309 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/1.052, allocations: 235.9 kB / 1.309 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/1.066, allocations: 4.814 MB / 1.314 GB, free: 3.484 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.876e-05/1.066, allocations: 0 / 1.314 GB, free: 3.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007382/1.067, allocations: 104 kB / 1.314 GB, free: 3.383 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/1.067, allocations: 176.8 kB / 1.314 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/1.082, allocations: 5.195 MB / 1.319 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/1.107, allocations: 14.4 MB / 1.333 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009854/1.117, allocations: 3.398 MB / 1.336 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003781/1.121, allocations: 1.467 MB / 1.338 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/1.121, allocations: 25.3 kB / 1.338 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004227/1.126, allocations: 1.799 MB / 1.34 GB, free: 7.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=163): time 4.789e-06/1.126, allocations: 0 / 1.34 GB, free: 7.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=250): time 0.1178/1.243, allocations: 28.3 MB / 1.367 GB, free: 11.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002698/1.244, allocations: 0.4889 MB / 1.368 GB, free: 10.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/1.248, allocations: 2.296 MB / 1.37 GB, free: 8.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005594/1.248, allocations: 81.64 kB / 1.37 GB, free: 8.145 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.25, allocations: 1.456 MB / 1.371 GB, free: 6.676 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.251, allocations: 0.8598 MB / 1.372 GB, free: 5.809 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/1.252, allocations: 424.5 kB / 1.373 GB, free: 5.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.253, allocations: 301.1 kB / 1.373 GB, free: 5.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/1.258, allocations: 1.933 MB / 1.375 GB, free: 3.152 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/1.263, allocations: 2.235 MB / 1.377 GB, free: 0.832 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.274, allocations: 4.15 MB / 1.381 GB, free: 12.54 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.274, allocations: 4 kB / 1.381 GB, free: 12.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01902/1.293, allocations: 6.557 MB / 1.387 GB, free: 5.891 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.293, allocations: 148.5 kB / 1.388 GB, free: 5.715 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.293, allocations: 7.938 kB / 1.388 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.303, allocations: 2.93 MB / 1.39 GB, free: 2.766 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/1.306, allocations: 495.2 kB / 1.391 GB, free: 2.281 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0428/1.349, allocations: 18.85 MB / 1.409 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.353, allocations: 323.6 kB / 1.41 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/1.353, allocations: 83.98 kB / 1.41 GB, free: 14.79 MB / 1.139 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.001917/1.355, allocations: 0.7144 MB / 1.41 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009314/1.356, allocations: 345.8 kB / 1.411 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/1.357, allocations: 384.1 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.357, allocations: 11.95 kB / 1.411 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.357, allocations: 0 / 1.411 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.359, allocations: 0.7135 MB / 1.412 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007649/1.36, allocations: 44 kB / 1.412 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003526/1.363, allocations: 311.6 kB / 1.412 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.365, allocations: 421.3 kB / 1.413 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01823/1.383, allocations: 6.191 MB / 1.419 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01659/1.399, allocations: 6.531 MB / 1.425 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005083/1.405, allocations: 2.136 MB / 1.427 GB, free: 12.94 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003333/1.408, allocations: 1.54 MB / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of Backend: time 5.51e-07/1.408, allocations: 3.938 kB / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02119/1.429, allocations: 5.154 MB / 1.434 GB, free: 6.148 MB / 1.154 GB Notification: Performance of SimCode: time 0.01565/1.445, allocations: 7.708 MB / 1.441 GB, free: 14.4 MB / 1.17 GB Notification: Performance of Templates: time 0.1308/1.576, allocations: 78.86 MB / 1.518 GB, free: 324 kB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches