Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001195/0.001195, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001235/0.001236, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.8426, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03216/0.8748, allocations: 22.64 MB / 1.111 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.9074, allocations: 17.64 MB / 1.128 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004024/0.9115, allocations: 111.2 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.9227, allocations: 4.162 MB / 1.132 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.9359, allocations: 3.587 MB / 1.136 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.9404, allocations: 1.311 MB / 1.137 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.9507, allocations: 5.795 MB / 1.143 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006527/0.9572, allocations: 3.592 MB / 1.146 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.9625, allocations: 2.483 MB / 1.149 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005528/0.9681, allocations: 2.444 MB / 1.151 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.9697, allocations: 372.7 kB / 1.151 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.9737, allocations: 1.038 MB / 1.152 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.9762, allocations: 1.19 MB / 1.153 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005527/0.9818, allocations: 2.003 MB / 1.155 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.9929, allocations: 5.178 MB / 1.16 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.9929, allocations: 0 / 1.16 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9929, allocations: 0 / 1.16 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002618/0.9932, allocations: 5.125 kB / 1.16 GB, free: 9.07 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01813/1.011, allocations: 4.611 MB / 1.165 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.011, allocations: 8.562 kB / 1.165 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.029, allocations: 3.264 MB / 1.168 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005885/1.035, allocations: 2.223 MB / 1.17 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004644/1.035, allocations: 467.5 kB / 1.171 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009906/1.036, allocations: 235.1 kB / 1.171 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/1.049, allocations: 4.81 MB / 1.176 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/1.049, allocations: 9.172 kB / 1.176 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005024/1.049, allocations: 105.2 kB / 1.176 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/1.05, allocations: 172.8 kB / 1.176 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/1.065, allocations: 5.189 MB / 1.181 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/1.097, allocations: 14.41 MB / 1.195 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.107, allocations: 3.379 MB / 1.198 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/1.111, allocations: 1.467 MB / 1.2 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/1.112, allocations: 33.2 kB / 1.2 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004582/1.116, allocations: 1.79 MB / 1.202 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 5.39e-06/1.116, allocations: 3.984 kB / 1.202 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.136/1.252, allocations: 28.24 MB / 1.229 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/1.253, allocations: 0.4928 MB / 1.23 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/1.256, allocations: 2.3 MB / 1.232 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000437/1.257, allocations: 77.7 kB / 1.232 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.258, allocations: 1.434 MB / 1.233 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009342/1.259, allocations: 0.824 MB / 1.234 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.26, allocations: 412.5 kB / 1.235 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.26, allocations: 301.1 kB / 1.235 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005506/1.265, allocations: 1.933 MB / 1.237 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005852/1.271, allocations: 2.227 MB / 1.239 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.283, allocations: 4.161 MB / 1.243 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.283, allocations: 7.875 kB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02062/1.303, allocations: 6.539 MB / 1.249 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/1.303, allocations: 144.5 kB / 1.25 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.304, allocations: 8.344 kB / 1.25 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/1.315, allocations: 2.926 MB / 1.252 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/1.318, allocations: 495.2 kB / 1.253 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04385/1.362, allocations: 18.83 MB / 1.271 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/1.367, allocations: 315.6 kB / 1.272 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/1.368, allocations: 87.97 kB / 1.272 GB, free: 4 kB / 0.9981 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.002326/1.37, allocations: 0.7144 MB / 1.272 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.371, allocations: 332.1 kB / 1.273 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.372, allocations: 384.1 kB / 1.273 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/1.373, allocations: 11.95 kB / 1.273 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.373, allocations: 0 / 1.273 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.375, allocations: 0.6961 MB / 1.274 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.376, allocations: 51.98 kB / 1.274 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004115/1.38, allocations: 311.6 kB / 1.274 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/1.381, allocations: 417.3 kB / 1.274 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02205/1.403, allocations: 6.19 MB / 1.281 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01933/1.423, allocations: 6.509 MB / 1.287 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0057/1.428, allocations: 2.143 MB / 1.289 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002917/1.431, allocations: 1.533 MB / 1.29 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Backend: time 9.92e-07/1.431, allocations: 0 / 1.29 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0235/1.455, allocations: 5.121 MB / 1.295 GB, free: 7.438 MB / 1.029 GB Notification: Performance of SimCode: time 0.01782/1.473, allocations: 7.582 MB / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Templates: time 0.13/1.603, allocations: 78.89 MB / 1.38 GB, free: 1.746 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches