Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00726/0.00726, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001947/0.001947, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.353/1.353, 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 12.0.0-master/package.mo): time 2.746/2.746, allocations: 482.4 MB / 0.7548 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.19 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2721, allocations: 162.2 MB / 1.241 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007946/0.2801, allocations: 6.146 MB / 1.247 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005026/0.2852, allocations: 3.168 MB / 1.251 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.2855, allocations: 31.81 kB / 1.251 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2879, allocations: 0.9325 MB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.289, allocations: 477.5 kB / 1.252 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2901, allocations: 0.4949 MB / 1.252 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2914, allocations: 1.108 MB / 1.254 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.2923, allocations: 0.6391 MB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.2929, allocations: 434.4 kB / 1.255 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.2935, allocations: 474.2 kB / 1.255 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.2936, allocations: 60 kB / 1.255 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008284/0.2944, allocations: 494.9 kB / 1.256 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.2947, allocations: 291.2 kB / 1.256 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.2951, allocations: 398 kB / 1.256 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.2965, allocations: 1.183 MB / 1.257 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2965, allocations: 0 / 1.257 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2965, allocations: 0 / 1.257 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.2965, allocations: 4 kB / 1.257 GB, free: 8.914 MB / 0.9825 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.00163/0.2981, allocations: 1.086 MB / 1.258 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2982, allocations: 8.031 kB / 1.258 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.2983, allocations: 122.6 kB / 1.259 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.2998, allocations: 224.2 kB / 1.259 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.3007, allocations: 0.6004 MB / 1.259 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.3008, allocations: 45.69 kB / 1.259 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3009, allocations: 68.31 kB / 1.259 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3024, allocations: 1.033 MB / 1.26 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.3024, allocations: 7.984 kB / 1.26 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.3025, allocations: 27.98 kB / 1.26 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-05/0.3026, allocations: 65.28 kB / 1.261 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3036, allocations: 0.6956 MB / 1.261 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.3088, allocations: 5.742 MB / 1.267 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/0.3097, allocations: 0.5943 MB / 1.267 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.3106, allocations: 436.5 kB / 1.268 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.3106, allocations: 4 kB / 1.268 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3106, allocations: 34.56 kB / 1.268 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.3107, allocations: 0 / 1.268 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.004392/0.3151, allocations: 2.023 MB / 1.27 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3151, allocations: 59.41 kB / 1.27 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.3156, allocations: 466.8 kB / 1.27 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3157, allocations: 29.7 kB / 1.27 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.3159, allocations: 400.1 kB / 1.271 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3161, allocations: 162.6 kB / 1.271 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.3163, allocations: 110.2 kB / 1.271 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3164, allocations: 366.8 kB / 1.271 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.3168, allocations: 237.2 kB / 1.272 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.3173, allocations: 457.5 kB / 1.272 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.3183, allocations: 0.7594 MB / 1.273 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3183, allocations: 0 / 1.273 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001894/0.3202, allocations: 1.042 MB / 1.274 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3202, allocations: 8 kB / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3203, allocations: 12.75 kB / 1.274 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3213, allocations: 319.1 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.3216, allocations: 103.8 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/0.3292, allocations: 7.476 MB / 1.282 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.3296, allocations: 24.03 kB / 1.282 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.3297, allocations: 31.98 kB / 1.282 GB, free: 14.49 MB / 1.014 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.0003236/0.33, allocations: 237.6 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3301, allocations: 71.56 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.3318, allocations: 0.8926 MB / 1.283 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3319, allocations: 4 kB / 1.283 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3319, allocations: 4.281 kB / 1.283 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3319, allocations: 7.984 kB / 1.283 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.3346, allocations: 1.673 MB / 1.284 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3346, allocations: 4.125 kB / 1.284 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3348, allocations: 43.97 kB / 1.284 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009345/0.3357, allocations: 311.1 kB / 1.285 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.3357, allocations: 8 kB / 1.285 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007412/0.3432, allocations: 7.468 MB / 1.292 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3432, allocations: 3.938 kB / 1.292 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.3449, allocations: 0.9953 MB / 1.293 GB, free: 2.035 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.3452, allocations: 172.7 kB / 1.293 GB, free: 1.848 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.3452, allocations: 8 kB / 1.293 GB, free: 1.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.3455, allocations: 27.91 kB / 1.293 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3456, allocations: 39.95 kB / 1.293 GB, free: 1.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.3457, allocations: 12 kB / 1.293 GB, free: 1.762 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000344/0.346, allocations: 311.1 kB / 1.294 GB, free: 1.461 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.033e-06/0.346, allocations: 0 / 1.294 GB, free: 1.461 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007254/0.3468, allocations: 199.9 kB / 1.294 GB, free: 1.266 MB / 1.014 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.002005/0.3488, allocations: 1.55 MB / 1.295 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.3507, allocations: 1.21 MB / 1.296 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3507, allocations: 0 / 1.296 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.352, allocations: 0.8584 MB / 1.297 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.353, allocations: 204.5 kB / 1.297 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.3611, allocations: 5.892 MB / 1.303 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.3618, allocations: 0.9921 MB / 1.304 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.3621, allocations: 101.2 kB / 1.304 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.3624, allocations: 231.4 kB / 1.305 GB, free: 5.734 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3624, allocations: 0 / 1.305 GB, free: 5.734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05083/0.4132, allocations: 15.4 MB / 1.32 GB, free: 6.625 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.58, allocations: 3.75 kB / 1.32 GB, free: 6.621 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches