Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DCLine,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLine",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.0009164/0.0009164, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005655/0.005655, allocations: 170 kB / 16.26 MB, free: 6.613 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004552, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6085, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006823/0.6154, allocations: 5.889 MB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006281/0.6217, allocations: 4.453 MB / 1.033 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.6224, allocations: 23.88 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.6231, allocations: 154.9 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.6253, allocations: 0.7046 MB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.6261, allocations: 292.7 kB / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.6277, allocations: 1.443 MB / 1.036 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.6285, allocations: 0.536 MB / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.6291, allocations: 394.4 kB / 1.037 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007873/0.6299, allocations: 474 kB / 1.037 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.6301, allocations: 36 kB / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.6308, allocations: 307.4 kB / 1.037 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.631, allocations: 211.2 kB / 1.038 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.6315, allocations: 383.7 kB / 1.038 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.6325, allocations: 1.035 MB / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6326, allocations: 0 / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6326, allocations: 0 / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.6326, allocations: 0 / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001798/0.6344, allocations: 0.9738 MB / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6345, allocations: 8.031 kB / 1.04 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6346, allocations: 98.7 kB / 1.04 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.6379, allocations: 0.6514 MB / 1.041 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.6387, allocations: 0.5385 MB / 1.041 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.6388, allocations: 45.67 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.6389, allocations: 55.94 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6409, allocations: 1.018 MB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6409, allocations: 3.938 kB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.641, allocations: 31.97 kB / 1.042 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.6411, allocations: 45.3 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.6435, allocations: 1.024 MB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.6475, allocations: 3.506 MB / 1.047 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.649, allocations: 0.5223 MB / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.6496, allocations: 249.2 kB / 1.048 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.6497, allocations: 11.97 kB / 1.048 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.6497, allocations: 38.56 kB / 1.048 GB, free: 6.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.6497, allocations: 0 / 1.048 GB, free: 6.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007302/0.657, allocations: 2.231 MB / 1.05 GB, free: 3.945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6571, allocations: 55.41 kB / 1.05 GB, free: 3.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.6578, allocations: 0.5627 MB / 1.05 GB, free: 3.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.6579, allocations: 37.7 kB / 1.05 GB, free: 3.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.6581, allocations: 356.2 kB / 1.051 GB, free: 2.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6583, allocations: 153.8 kB / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.6583, allocations: 41.7 kB / 1.051 GB, free: 2.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6585, allocations: 378.7 kB / 1.051 GB, free: 2.336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.6592, allocations: 280.9 kB / 1.052 GB, free: 2.059 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/0.66, allocations: 389.7 kB / 1.052 GB, free: 1.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.6614, allocations: 0.6733 MB / 1.053 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6615, allocations: 0 / 1.053 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002523/0.664, allocations: 0.9779 MB / 1.054 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6641, allocations: 180.5 kB / 1.054 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6641, allocations: 4 kB / 1.054 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.6653, allocations: 272.8 kB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.6659, allocations: 131.8 kB / 1.054 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006931/0.6729, allocations: 8.481 MB / 1.062 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.6736, allocations: 56 kB / 1.062 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.6737, allocations: 20 kB / 1.063 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.6737, allocations: 4 kB / 1.063 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002406/0.6761, allocations: 1.085 MB / 1.064 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6761, allocations: 4 kB / 1.064 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/0.6769, allocations: 217.3 kB / 1.064 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.6776, allocations: 139.9 kB / 1.064 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.6833, allocations: 8.16 MB / 1.072 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.684, allocations: 63.97 kB / 1.072 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.6841, allocations: 16 kB / 1.072 GB, free: 11.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.6845, allocations: 314.4 kB / 1.072 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6847, allocations: 71.16 kB / 1.072 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.6849, allocations: 86.36 kB / 1.072 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6849, allocations: 4 kB / 1.072 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.6849, allocations: 0 / 1.072 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.6849, allocations: 0 / 1.072 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.6859, allocations: 0.6494 MB / 1.073 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6859, allocations: 0 / 1.073 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.6864, allocations: 99.84 kB / 1.073 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009883/0.6874, allocations: 261 kB / 1.073 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.6874, allocations: 12 kB / 1.073 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006082/0.6935, allocations: 8.431 MB / 1.082 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6936, allocations: 0 / 1.082 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.6959, allocations: 0.9677 MB / 1.083 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.6962, allocations: 180.2 kB / 1.083 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.6963, allocations: 15.94 kB / 1.083 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.6969, allocations: 47.95 kB / 1.083 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.697, allocations: 39.94 kB / 1.083 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.697, allocations: 8 kB / 1.083 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004772/0.6975, allocations: 415.1 kB / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6975, allocations: 0 / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001103/0.6986, allocations: 296 kB / 1.084 GB, free: 14.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/0.7012, allocations: 1.518 MB / 1.085 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.705, allocations: 2.419 MB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.705, allocations: 4 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.7064, allocations: 1.023 MB / 1.088 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7074, allocations: 218.2 kB / 1.089 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.719, allocations: 6.783 MB / 1.095 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.7196, allocations: 0.9781 MB / 1.096 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006379/0.7203, allocations: 149.4 kB / 1.096 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7206, allocations: 239.3 kB / 1.097 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/0.7206, allocations: 0 / 1.097 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.757, allocations: 18.7 MB / 1.115 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.7573, allocations: 227.3 kB / 1.115 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.942, allocations: 4 kB / 1.115 GB, free: 14.08 MB / 0.8731 GB (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches