Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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_latest_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.001577/0.001577, allocations: 112.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.001758/0.001758, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.88 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8329, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02505/0.858, allocations: 22.61 MB / 1.231 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.8826, allocations: 17.64 MB / 1.248 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.8851, allocations: 107.4 kB / 1.248 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009388/0.8946, allocations: 4.173 MB / 1.252 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00951/0.9041, allocations: 3.507 MB / 1.255 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.9072, allocations: 1.315 MB / 1.257 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007432/0.9147, allocations: 5.577 MB / 1.262 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.919, allocations: 3.53 MB / 1.266 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.9229, allocations: 2.371 MB / 1.268 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/0.9275, allocations: 2.401 MB / 1.27 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009514/0.9285, allocations: 352 kB / 1.271 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.9311, allocations: 1.018 MB / 1.271 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.9322, allocations: 1.16 MB / 1.273 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.9349, allocations: 1.951 MB / 1.275 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006172/0.9411, allocations: 5.063 MB / 1.279 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9411, allocations: 0 / 1.279 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9411, allocations: 0 / 1.279 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.256e-05/0.9412, allocations: 8 kB / 1.279 GB, free: 4.602 MB / 0.9981 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.008637/0.9498, allocations: 4.386 MB / 1.284 GB, free: 104 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9499, allocations: 8.031 kB / 1.284 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/0.9646, allocations: 3.246 MB / 1.287 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.9689, allocations: 2.205 MB / 1.289 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.969, allocations: 181.1 kB / 1.289 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.9697, allocations: 244 kB / 1.29 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.9798, allocations: 4.678 MB / 1.294 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/0.9798, allocations: 3.938 kB / 1.294 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.9802, allocations: 99.98 kB / 1.294 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.9804, allocations: 172.8 kB / 1.294 GB, free: 5.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.9926, allocations: 5.12 MB / 1.299 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/1.013, allocations: 13.92 MB / 1.313 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/1.023, allocations: 3.565 MB / 1.316 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/1.026, allocations: 1.381 MB / 1.318 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.857e-05/1.026, allocations: 33.14 kB / 1.318 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003467/1.03, allocations: 1.703 MB / 1.319 GB, free: 10.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=163): time 3.577e-06/1.03, allocations: 0 / 1.319 GB, free: 10.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=250): time 0.1092/1.139, allocations: 27.43 MB / 1.346 GB, free: 14.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/1.139, allocations: 0.4928 MB / 1.347 GB, free: 13.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/1.143, allocations: 2.296 MB / 1.349 GB, free: 11.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004136/1.143, allocations: 81.69 kB / 1.349 GB, free: 11.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.144, allocations: 1.43 MB / 1.35 GB, free: 9.973 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009101/1.145, allocations: 0.824 MB / 1.351 GB, free: 9.137 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008733/1.146, allocations: 416.4 kB / 1.352 GB, free: 8.723 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/1.146, allocations: 301.1 kB / 1.352 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004344/1.151, allocations: 1.755 MB / 1.354 GB, free: 6.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/1.155, allocations: 2.04 MB / 1.356 GB, free: 4.535 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008788/1.164, allocations: 3.841 MB / 1.359 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.164, allocations: 0 / 1.359 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01474/1.179, allocations: 5.809 MB / 1.365 GB, free: 10.66 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.179, allocations: 148.5 kB / 1.365 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/1.179, allocations: 8 kB / 1.365 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/1.185, allocations: 1.84 MB / 1.367 GB, free: 8.629 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.188, allocations: 0.4914 MB / 1.367 GB, free: 8.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0262/1.214, allocations: 15.4 MB / 1.383 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/1.218, allocations: 303.6 kB / 1.383 GB, free: 8.191 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/1.219, allocations: 91.97 kB / 1.383 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005934/1.225, allocations: 2.316 MB / 1.385 GB, free: 5.777 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004844/1.23, allocations: 2.028 MB / 1.387 GB, free: 3.664 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009174/1.239, allocations: 3.806 MB / 1.391 GB, free: 15.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.201e-05/1.239, allocations: 0 / 1.391 GB, free: 15.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01486/1.254, allocations: 5.642 MB / 1.396 GB, free: 9.988 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/1.254, allocations: 144.5 kB / 1.397 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.254, allocations: 11.94 kB / 1.397 GB, free: 9.805 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/1.259, allocations: 1.677 MB / 1.398 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/1.262, allocations: 0.5148 MB / 1.399 GB, free: 7.602 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/1.284, allocations: 14.6 MB / 1.413 GB, free: 8.715 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.288, allocations: 311.6 kB / 1.413 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005318/1.288, allocations: 83.98 kB / 1.413 GB, free: 8.328 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 (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.0009862/1.289, allocations: 326.1 kB / 1.414 GB, free: 8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.29, allocations: 328.1 kB / 1.414 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.292, allocations: 400.1 kB / 1.414 GB, free: 7.277 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/1.292, allocations: 11.95 kB / 1.414 GB, free: 7.266 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.292, allocations: 0 / 1.414 GB, free: 7.266 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.293, allocations: 0.6649 MB / 1.415 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009156/1.294, allocations: 47.98 kB / 1.415 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/1.298, allocations: 303.5 kB / 1.415 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008843/1.299, allocations: 353.4 kB / 1.416 GB, free: 5.891 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01724/1.316, allocations: 5.693 MB / 1.421 GB, free: 184 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01485/1.331, allocations: 6.031 MB / 1.427 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004594/1.335, allocations: 1.951 MB / 1.429 GB, free: 8.168 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002808/1.338, allocations: 1.536 MB / 1.43 GB, free: 6.633 MB / 1.154 GB Notification: Performance of Backend: time 5.01e-07/1.338, allocations: 0 / 1.43 GB, free: 6.633 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0222/1.36, allocations: 8.147 MB / 1.438 GB, free: 14.3 MB / 1.17 GB Notification: Performance of SimCode: time 0.01568/1.376, allocations: 7.562 MB / 1.446 GB, free: 6.711 MB / 1.17 GB Notification: Performance of Templates: time 0.149/1.525, allocations: 94.84 MB / 1.538 GB, free: 8.695 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches