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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.533/2.533, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.6093, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02626/0.6356, allocations: 22.63 MB / 1.04 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02584/0.6615, allocations: 17.62 MB / 1.057 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.6643, allocations: 115.4 kB / 1.057 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.6749, allocations: 4.181 MB / 1.061 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.6848, allocations: 3.502 MB / 1.064 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.6885, allocations: 1.314 MB / 1.066 GB, free: 1 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008179/0.6967, allocations: 5.774 MB / 1.071 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.7028, allocations: 3.6 MB / 1.075 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004811/0.7077, allocations: 2.394 MB / 1.077 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.7123, allocations: 2.452 MB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.7137, allocations: 368 kB / 1.08 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.717, allocations: 1.034 MB / 1.081 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.719, allocations: 1.196 MB / 1.082 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004414/0.7235, allocations: 1.994 MB / 1.084 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007642/0.7311, allocations: 5.105 MB / 1.089 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7312, allocations: 0 / 1.089 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7312, allocations: 0 / 1.089 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001794/0.7314, allocations: 4 kB / 1.089 GB, free: 8.941 MB / 0.8419 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.0152/0.7466, allocations: 4.62 MB / 1.093 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7467, allocations: 8.031 kB / 1.093 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001081/0.7477, allocations: 362.3 kB / 1.094 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/0.7688, allocations: 3.265 MB / 1.097 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/0.7753, allocations: 2.084 MB / 1.099 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/0.776, allocations: 470 kB / 1.099 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.7772, allocations: 228 kB / 1.1 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.7903, allocations: 4.818 MB / 1.104 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.254e-05/0.7904, allocations: 0 / 1.104 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006148/0.7911, allocations: 104 kB / 1.105 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/0.7913, allocations: 168.8 kB / 1.105 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.8058, allocations: 5.202 MB / 1.11 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02237/0.8282, allocations: 14.47 MB / 1.124 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.8383, allocations: 3.392 MB / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.8421, allocations: 1.471 MB / 1.129 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.8423, allocations: 21.22 kB / 1.129 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004298/0.8466, allocations: 1.788 MB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=163): time 4.528e-06/0.8466, allocations: 3.938 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=250): time 0.1271/0.9737, allocations: 28.23 MB / 1.158 GB, free: 368 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/0.974, allocations: 0.4889 MB / 1.158 GB, free: 15.76 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.9773, allocations: 2.304 MB / 1.161 GB, free: 13.44 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.9776, allocations: 73.7 kB / 1.161 GB, free: 13.36 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.9788, allocations: 1.434 MB / 1.162 GB, free: 11.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/0.9796, allocations: 0.8163 MB / 1.163 GB, free: 11.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008877/0.9805, allocations: 416.4 kB / 1.163 GB, free: 10.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.9806, allocations: 309.1 kB / 1.164 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/0.986, allocations: 1.925 MB / 1.166 GB, free: 8.438 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005543/0.9915, allocations: 2.235 MB / 1.168 GB, free: 6.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.002, allocations: 4.161 MB / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.002, allocations: 0 / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01865/1.021, allocations: 6.535 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.893e-05/1.021, allocations: 152.5 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.021, allocations: 4 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.031, allocations: 2.95 MB / 1.181 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/1.034, allocations: 487.2 kB / 1.182 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05155/1.086, allocations: 18.86 MB / 1.2 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/1.091, allocations: 323.6 kB / 1.2 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006042/1.092, allocations: 87.97 kB / 1.2 GB, free: 4.062 MB / 0.9512 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.002193/1.094, allocations: 0.7067 MB / 1.201 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.095, allocations: 336.1 kB / 1.201 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.096, allocations: 388 kB / 1.202 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/1.096, allocations: 24 kB / 1.202 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-05/1.096, allocations: 8 kB / 1.202 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/1.096, allocations: 11.95 kB / 1.202 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/1.104, allocations: 3.632 MB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/1.104, allocations: 3.984 kB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/1.107, allocations: 411.4 kB / 1.206 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01376/1.121, allocations: 2.896 MB / 1.209 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000497/1.122, allocations: 55.91 kB / 1.209 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05245/1.174, allocations: 18.61 MB / 1.227 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.174, allocations: 4 kB / 1.227 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.193, allocations: 6.177 MB / 1.233 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.195, allocations: 0.7 MB / 1.234 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007705/1.196, allocations: 51.92 kB / 1.234 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/1.199, allocations: 307.6 kB / 1.234 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/1.201, allocations: 354.7 kB / 1.234 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/1.201, allocations: 67.97 kB / 1.234 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002782/1.204, allocations: 1.536 MB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.204, allocations: 0 / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003169/1.207, allocations: 1.047 MB / 1.237 GB, free: 14.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01869/1.226, allocations: 6.802 MB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02673/1.252, allocations: 7.297 MB / 1.251 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.252, allocations: 8.25 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4626/1.715, allocations: 4.049 MB / 1.255 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.72, allocations: 1.138 MB / 1.256 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07096/1.791, allocations: 36.9 MB / 1.292 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/1.792, allocations: 2.234 MB / 1.294 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002547/1.795, allocations: 0.5058 MB / 1.294 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.796, allocations: 1.34 MB / 1.296 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.91e-07/1.796, allocations: 0 / 1.296 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.925, allocations: 104.2 MB / 1.398 GB, free: 96.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.64, allocations: 7.984 kB / 1.398 GB, free: 96.68 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/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