Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004496/0.004496, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001268/0.001268, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6661, allocations: 159.2 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008054/0.6742, allocations: 6.147 MB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.6791, allocations: 3.176 MB / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.6794, allocations: 31.81 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.6818, allocations: 0.9259 MB / 1.23 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.6828, allocations: 477.5 kB / 1.231 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.6839, allocations: 0.4929 MB / 1.231 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.6851, allocations: 1.108 MB / 1.232 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.686, allocations: 0.635 MB / 1.233 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.6865, allocations: 430.4 kB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.6871, allocations: 478.1 kB / 1.234 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.246e-05/0.6872, allocations: 60 kB / 1.234 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.688, allocations: 494.9 kB / 1.234 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.6883, allocations: 287.2 kB / 1.235 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.6887, allocations: 409.9 kB / 1.235 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6901, allocations: 1.179 MB / 1.236 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6901, allocations: 0 / 1.236 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.356e-06/0.6901, allocations: 0 / 1.236 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.6901, allocations: 3.938 kB / 1.236 GB, free: 1.695 MB / 0.9512 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.001625/0.6917, allocations: 1.082 MB / 1.237 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6918, allocations: 8.031 kB / 1.237 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.6919, allocations: 122.7 kB / 1.237 GB, free: 432 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.6934, allocations: 228.1 kB / 1.237 GB, free: 204 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.6943, allocations: 0.5965 MB / 1.238 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.6944, allocations: 49.67 kB / 1.238 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6945, allocations: 68.33 kB / 1.238 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.696, allocations: 1.037 MB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.696, allocations: 3.938 kB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.6961, allocations: 31.98 kB / 1.239 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.212e-05/0.6962, allocations: 69.27 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6973, allocations: 0.6957 MB / 1.24 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/0.7026, allocations: 5.726 MB / 1.246 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.7035, allocations: 0.6076 MB / 1.246 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/0.7043, allocations: 430.4 kB / 1.247 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.7044, allocations: 8 kB / 1.247 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.7044, allocations: 38.34 kB / 1.247 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=41): time 2.034e-06/0.7044, allocations: 0 / 1.247 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.004428/0.7088, allocations: 2.03 MB / 1.249 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7089, allocations: 59.19 kB / 1.249 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.7094, allocations: 462.8 kB / 1.249 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.7095, allocations: 33.7 kB / 1.249 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.7098, allocations: 400.1 kB / 1.249 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.7099, allocations: 154.7 kB / 1.25 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.7101, allocations: 114.2 kB / 1.25 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7103, allocations: 366.8 kB / 1.25 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.7106, allocations: 241.2 kB / 1.25 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.7112, allocations: 453 kB / 1.251 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.7122, allocations: 0.7441 MB / 1.251 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7122, allocations: 3.938 kB / 1.251 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001947/0.7141, allocations: 1.047 MB / 1.253 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.7142, allocations: 8 kB / 1.253 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7142, allocations: 15.88 kB / 1.253 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.7152, allocations: 315.3 kB / 1.253 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.7156, allocations: 99.81 kB / 1.253 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.7234, allocations: 7.471 MB / 1.26 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.7238, allocations: 32.02 kB / 1.26 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.7239, allocations: 24 kB / 1.26 GB, free: 7.285 MB / 0.9825 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.0003376/0.7242, allocations: 246.1 kB / 1.261 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.7243, allocations: 63.56 kB / 1.261 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.7261, allocations: 0.9005 MB / 1.261 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7261, allocations: 7.984 kB / 1.261 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7261, allocations: 4 kB / 1.261 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7261, allocations: 3.984 kB / 1.261 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.7288, allocations: 1.681 MB / 1.263 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7288, allocations: 0 / 1.263 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.729, allocations: 43.91 kB / 1.263 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009507/0.7299, allocations: 307.6 kB / 1.263 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.73, allocations: 8 kB / 1.263 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/0.7375, allocations: 7.478 MB / 1.271 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7375, allocations: 3.938 kB / 1.271 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.7392, allocations: 0.9974 MB / 1.272 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.7395, allocations: 184.7 kB / 1.272 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.7395, allocations: 12 kB / 1.272 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.7398, allocations: 23.92 kB / 1.272 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.7399, allocations: 39.88 kB / 1.272 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.74, allocations: 16 kB / 1.272 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000347/0.7403, allocations: 310.9 kB / 1.272 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7403, allocations: 0 / 1.272 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007084/0.7411, allocations: 192 kB / 1.272 GB, free: 10.04 MB / 0.9981 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.001996/0.7431, allocations: 1.541 MB / 1.274 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.7449, allocations: 1.198 MB / 1.275 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.745, allocations: 128 / 1.275 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.7462, allocations: 0.862 MB / 1.276 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.7472, allocations: 202.7 kB / 1.276 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/0.7554, allocations: 5.899 MB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.7561, allocations: 0.9882 MB / 1.283 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002742/0.7564, allocations: 101.1 kB / 1.283 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.7567, allocations: 227.4 kB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of SimCode: time 5.72e-07/0.7567, allocations: 0 / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05046/0.8071, allocations: 15.38 MB / 1.298 GB, free: 15.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.99, allocations: 21.81 kB / 1.298 GB, free: 15.4 MB / 1.029 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches