Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001351/0.001351, allocations: 185.5 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 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.305/2.305, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9317/0.9331, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02491/0.958, allocations: 22.61 MB / 1.111 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.9869, allocations: 17.62 MB / 1.128 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004392/0.9914, allocations: 114.8 kB / 1.128 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01194/1.003, allocations: 4.179 MB / 1.132 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/1.016, allocations: 3.572 MB / 1.136 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/1.022, allocations: 1.321 MB / 1.137 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01295/1.035, allocations: 5.586 MB / 1.142 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007925/1.042, allocations: 3.531 MB / 1.146 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/1.049, allocations: 2.37 MB / 1.148 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007117/1.056, allocations: 2.4 MB / 1.15 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002203/1.058, allocations: 356 kB / 1.151 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/1.063, allocations: 1.02 MB / 1.152 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00321/1.066, allocations: 1.155 MB / 1.153 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006979/1.073, allocations: 1.965 MB / 1.155 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.085, allocations: 5.069 MB / 1.16 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.085, allocations: 0 / 1.16 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.085, allocations: 1 kB / 1.16 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002464/1.085, allocations: 0 / 1.16 GB, free: 9.477 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.01523/1.1, allocations: 4.395 MB / 1.164 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.1, allocations: 8.562 kB / 1.164 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.118, allocations: 3.252 MB / 1.167 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/1.124, allocations: 2.205 MB / 1.169 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/1.124, allocations: 181.7 kB / 1.17 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/1.126, allocations: 231.6 kB / 1.17 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.14, allocations: 4.682 MB / 1.174 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/1.141, allocations: 1.438 kB / 1.174 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004826/1.141, allocations: 114 kB / 1.174 GB, free: 316 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/1.141, allocations: 167.8 kB / 1.175 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.156, allocations: 5.118 MB / 1.18 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/1.18, allocations: 13.92 MB / 1.193 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/1.192, allocations: 3.568 MB / 1.197 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/1.196, allocations: 1.385 MB / 1.198 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.196, allocations: 37.2 kB / 1.198 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004309/1.2, allocations: 1.7 MB / 1.2 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.849e-06/1.2, allocations: 0 / 1.2 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1235/1.324, allocations: 27.42 MB / 1.227 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003528/1.324, allocations: 0.4928 MB / 1.227 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/1.328, allocations: 2.3 MB / 1.229 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.329, allocations: 81.69 kB / 1.229 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.33, allocations: 1.426 MB / 1.231 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009781/1.331, allocations: 0.8162 MB / 1.232 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/1.332, allocations: 420.3 kB / 1.232 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.332, allocations: 301.1 kB / 1.232 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005015/1.337, allocations: 1.759 MB / 1.234 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/1.342, allocations: 2.044 MB / 1.236 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/1.352, allocations: 3.841 MB / 1.24 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.352, allocations: 0 / 1.24 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01576/1.368, allocations: 5.806 MB / 1.245 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.368, allocations: 148.5 kB / 1.246 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.368, allocations: 8 kB / 1.246 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006556/1.374, allocations: 1.833 MB / 1.247 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/1.377, allocations: 0.4992 MB / 1.248 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0247/1.402, allocations: 15.4 MB / 1.263 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.407, allocations: 303.6 kB / 1.263 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/1.407, allocations: 91.97 kB / 1.263 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006558/1.414, allocations: 2.312 MB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005129/1.419, allocations: 2.028 MB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009698/1.429, allocations: 3.798 MB / 1.271 GB, free: 328 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-05/1.429, allocations: 4 kB / 1.271 GB, free: 324 kB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01616/1.445, allocations: 5.642 MB / 1.277 GB, free: 10.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.445, allocations: 148.8 kB / 1.277 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.445, allocations: 15.94 kB / 1.277 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/1.451, allocations: 1.673 MB / 1.278 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/1.455, allocations: 0.5148 MB / 1.279 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/1.479, allocations: 14.6 MB / 1.293 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/1.484, allocations: 311.6 kB / 1.294 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005534/1.484, allocations: 91.97 kB / 1.294 GB, free: 8.914 MB / 1.029 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0009823/1.485, allocations: 318.1 kB / 1.294 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009968/1.486, allocations: 332.1 kB / 1.294 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/1.487, allocations: 396.1 kB / 1.295 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.488, allocations: 11.95 kB / 1.295 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.488, allocations: 0 / 1.295 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.49, allocations: 0.6687 MB / 1.295 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.491, allocations: 47.98 kB / 1.295 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/1.495, allocations: 303.5 kB / 1.296 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009526/1.496, allocations: 353.4 kB / 1.296 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01862/1.514, allocations: 5.701 MB / 1.302 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01663/1.531, allocations: 6.026 MB / 1.307 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00501/1.536, allocations: 1.951 MB / 1.309 GB, free: 8.754 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003295/1.539, allocations: 1.536 MB / 1.311 GB, free: 7.219 MB / 1.045 GB Notification: Performance of Backend: time 8.82e-07/1.539, allocations: 0 / 1.311 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02438/1.564, allocations: 8.142 MB / 1.319 GB, free: 14.89 MB / 1.061 GB Notification: Performance of SimCode: time 0.01657/1.58, allocations: 7.568 MB / 1.326 GB, free: 7.309 MB / 1.061 GB Notification: Performance of Templates: time 0.1462/1.727, allocations: 92.47 MB / 1.416 GB, free: 11.69 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches