Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001279/0.001279, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001289/0.001289, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 68.06 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02635/1.031, allocations: 22.63 MB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.06, allocations: 17.62 MB / 1.207 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005023/1.065, allocations: 119.4 kB / 1.207 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/1.077, allocations: 4.18 MB / 1.211 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/1.09, allocations: 3.569 MB / 1.214 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/1.094, allocations: 1.324 MB / 1.216 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009717/1.104, allocations: 5.785 MB / 1.221 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006889/1.111, allocations: 3.592 MB / 1.225 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/1.116, allocations: 2.484 MB / 1.227 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005083/1.121, allocations: 2.448 MB / 1.23 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/1.122, allocations: 368 kB / 1.23 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/1.126, allocations: 1.034 MB / 1.231 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002291/1.128, allocations: 1.196 MB / 1.232 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006865/1.135, allocations: 1.99 MB / 1.234 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.148, allocations: 5.191 MB / 1.239 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.148, allocations: 0 / 1.239 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.854e-06/1.148, allocations: 0 / 1.239 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002512/1.149, allocations: 4 kB / 1.239 GB, free: 10.02 MB / 0.9669 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.01443/1.163, allocations: 4.722 MB / 1.244 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.163, allocations: 12.62 kB / 1.244 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/1.18, allocations: 3.275 MB / 1.247 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/1.187, allocations: 2.258 MB / 1.249 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.188, allocations: 462.3 kB / 1.25 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/1.19, allocations: 243.8 kB / 1.25 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/1.205, allocations: 4.814 MB / 1.255 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.205, allocations: 3.938 kB / 1.255 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009317/1.206, allocations: 99.98 kB / 1.255 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/1.206, allocations: 172.8 kB / 1.255 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.222, allocations: 5.195 MB / 1.26 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02907/1.251, allocations: 14.41 MB / 1.274 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.262, allocations: 3.392 MB / 1.277 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.267, allocations: 1.467 MB / 1.279 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/1.267, allocations: 29.3 kB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004943/1.272, allocations: 1.794 MB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=163): time 6.091e-06/1.272, allocations: 4 kB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=250): time 0.135/1.407, allocations: 28.3 MB / 1.308 GB, free: 1.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003228/1.407, allocations: 0.5005 MB / 1.309 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004954/1.412, allocations: 2.293 MB / 1.311 GB, free: 14.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/1.413, allocations: 77.7 kB / 1.311 GB, free: 14.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/1.414, allocations: 1.452 MB / 1.312 GB, free: 13.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.416, allocations: 0.8675 MB / 1.313 GB, free: 12.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/1.417, allocations: 416.5 kB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.417, allocations: 301.1 kB / 1.314 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005534/1.423, allocations: 1.929 MB / 1.316 GB, free: 9.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/1.428, allocations: 2.231 MB / 1.318 GB, free: 7.207 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.44, allocations: 4.161 MB / 1.322 GB, free: 2.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/1.44, allocations: 4 kB / 1.322 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02056/1.46, allocations: 6.553 MB / 1.328 GB, free: 12.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.461, allocations: 148.5 kB / 1.329 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.461, allocations: 4.344 kB / 1.329 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.471, allocations: 2.934 MB / 1.331 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/1.475, allocations: 487.2 kB / 1.332 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04385/1.518, allocations: 18.86 MB / 1.35 GB, free: 5.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.523, allocations: 319.6 kB / 1.351 GB, free: 5.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/1.524, allocations: 91.97 kB / 1.351 GB, free: 5.152 MB / 1.076 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.002195/1.526, allocations: 0.7116 MB / 1.351 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.527, allocations: 349.8 kB / 1.352 GB, free: 4.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.529, allocations: 380.1 kB / 1.352 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.529, allocations: 11.95 kB / 1.352 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.529, allocations: 4 kB / 1.352 GB, free: 3.695 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.531, allocations: 0.7096 MB / 1.353 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.532, allocations: 48 kB / 1.353 GB, free: 2.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/1.536, allocations: 311.6 kB / 1.353 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00163/1.538, allocations: 417.3 kB / 1.354 GB, free: 2.207 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02137/1.559, allocations: 6.195 MB / 1.36 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01867/1.578, allocations: 6.531 MB / 1.366 GB, free: 5.445 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005989/1.584, allocations: 2.135 MB / 1.368 GB, free: 3.309 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003731/1.588, allocations: 1.536 MB / 1.37 GB, free: 1.773 MB / 1.092 GB Notification: Performance of Backend: time 7.52e-07/1.588, allocations: 0 / 1.37 GB, free: 1.773 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02318/1.611, allocations: 5.148 MB / 1.375 GB, free: 12.53 MB / 1.107 GB Notification: Performance of SimCode: time 0.01727/1.628, allocations: 7.708 MB / 1.382 GB, free: 4.793 MB / 1.107 GB Notification: Performance of Templates: time 0.1346/1.763, allocations: 78.88 MB / 1.459 GB, free: 6.586 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches