Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001688/0.001688, allocations: 108 kB / 15.6 MB, free: 132 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.001989/0.001989, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.602/2.602, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 67.89 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6483, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008676/0.657, allocations: 6.15 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.6624, allocations: 3.18 MB / 1.027 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.663, allocations: 31.81 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.6655, allocations: 0.9293 MB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.6668, allocations: 477.5 kB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.6681, allocations: 0.4987 MB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.6695, allocations: 1.096 MB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.6706, allocations: 0.6371 MB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.6713, allocations: 442.3 kB / 1.031 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.6721, allocations: 478.1 kB / 1.031 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.6722, allocations: 60 kB / 1.031 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.6732, allocations: 487 kB / 1.032 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.6735, allocations: 287.2 kB / 1.032 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.674, allocations: 401.9 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.6756, allocations: 1.168 MB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6757, allocations: 0 / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6757, allocations: 0 / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.6757, allocations: 0 / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002162/0.6779, allocations: 1.06 MB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6779, allocations: 8.031 kB / 1.034 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.6781, allocations: 122.6 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.6797, allocations: 219.7 kB / 1.035 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.6805, allocations: 0.5492 MB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.6806, allocations: 49.67 kB / 1.035 GB, free: 72 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6807, allocations: 64.36 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.6822, allocations: 1.03 MB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.6822, allocations: 4 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.6823, allocations: 31.98 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-05/0.6824, allocations: 69.2 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6835, allocations: 0.6957 MB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.6886, allocations: 5.737 MB / 1.043 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/0.6895, allocations: 0.6074 MB / 1.043 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.6903, allocations: 420.6 kB / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.6903, allocations: 4.688 kB / 1.044 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6904, allocations: 34.56 kB / 1.044 GB, free: 6.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.6904, allocations: 3.938 kB / 1.044 GB, free: 6.785 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004448/0.6948, allocations: 2.061 MB / 1.046 GB, free: 4.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.6949, allocations: 59.39 kB / 1.046 GB, free: 4.559 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.6954, allocations: 466.8 kB / 1.046 GB, free: 4.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.6955, allocations: 33.7 kB / 1.046 GB, free: 4.055 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.6957, allocations: 383 kB / 1.047 GB, free: 3.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6958, allocations: 149.9 kB / 1.047 GB, free: 3.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.696, allocations: 114.2 kB / 1.047 GB, free: 3.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6962, allocations: 362.8 kB / 1.047 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.6966, allocations: 245.2 kB / 1.047 GB, free: 2.805 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.6971, allocations: 457 kB / 1.048 GB, free: 2.262 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.6981, allocations: 0.7595 MB / 1.049 GB, free: 1.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6981, allocations: 0 / 1.049 GB, free: 1.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001938/0.7, allocations: 1.066 MB / 1.05 GB, free: 328 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7001, allocations: 11.98 kB / 1.05 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7001, allocations: 8.031 kB / 1.05 GB, free: 308 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.7011, allocations: 331.1 kB / 1.05 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.7015, allocations: 95.77 kB / 1.05 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/0.7093, allocations: 7.52 MB / 1.057 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.7099, allocations: 32.02 kB / 1.058 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.71, allocations: 28 kB / 1.058 GB, free: 7.727 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004248/0.7104, allocations: 250 kB / 1.058 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.7105, allocations: 59.25 kB / 1.058 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.7125, allocations: 0.9238 MB / 1.059 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7125, allocations: 4 kB / 1.059 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.7125, allocations: 4 kB / 1.059 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7125, allocations: 4.266 kB / 1.059 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.7153, allocations: 1.712 MB / 1.06 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7153, allocations: 0 / 1.06 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.7155, allocations: 51.84 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009763/0.7165, allocations: 327.2 kB / 1.061 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.7166, allocations: 8 kB / 1.061 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007523/0.7241, allocations: 7.503 MB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7241, allocations: 0 / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.726, allocations: 1.015 MB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.7263, allocations: 176.4 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.7264, allocations: 12 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.7267, allocations: 19.97 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7269, allocations: 39.89 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.7269, allocations: 12 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003759/0.7273, allocations: 322.8 kB / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7273, allocations: 288 / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000834/0.7281, allocations: 196 kB / 1.07 GB, free: 10.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.7302, allocations: 1.567 MB / 1.071 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.7322, allocations: 1.242 MB / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7323, allocations: 0 / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.7335, allocations: 0.8582 MB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7346, allocations: 221 kB / 1.074 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/0.7437, allocations: 6.016 MB / 1.08 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.7444, allocations: 0.9881 MB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003256/0.7447, allocations: 109.2 kB / 1.081 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.745, allocations: 223.4 kB / 1.081 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of SimCode: time 1.112e-06/0.745, allocations: 4 kB / 1.081 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.7894, allocations: 15.28 MB / 1.096 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.458/10.25, allocations: 6.688 kB / 1.096 GB, free: 15.62 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches