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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006773/0.006773, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001664/0.001664, allocations: 196.2 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7422 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.06 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2574, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006831/0.2643, allocations: 6.165 MB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004319/0.2686, allocations: 3.168 MB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.269, allocations: 27.81 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.2711, allocations: 0.9342 MB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009147/0.2721, allocations: 493.5 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2731, allocations: 0.5033 MB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.2742, allocations: 1.112 MB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.2751, allocations: 0.6311 MB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.2757, allocations: 442.4 kB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.2762, allocations: 478.1 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.2763, allocations: 60 kB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.2771, allocations: 487 kB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.2773, allocations: 295.2 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.2777, allocations: 397.9 kB / 1.235 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2788, allocations: 1.183 MB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2788, allocations: 0 / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2788, allocations: 0 / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2788, allocations: 0 / 1.236 GB, free: 14.29 MB / 0.9981 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.00142/0.2802, allocations: 1.09 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2803, allocations: 12.03 kB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.2804, allocations: 114.7 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.2818, allocations: 224.2 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.2827, allocations: 0.5965 MB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.2827, allocations: 53.67 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.2828, allocations: 64.31 kB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2841, allocations: 1.034 MB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2841, allocations: 11.92 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.2842, allocations: 31.98 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/0.2842, allocations: 61.28 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.2852, allocations: 0.6918 MB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.2895, allocations: 5.749 MB / 1.245 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.2902, allocations: 0.5904 MB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.291, allocations: 432.6 kB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.291, allocations: 4.688 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.291, allocations: 38.56 kB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 1.983e-06/0.291, allocations: 0 / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.003882/0.2949, allocations: 2.03 MB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.295, allocations: 63.41 kB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.2954, allocations: 458.9 kB / 1.249 GB, free: 164 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2954, allocations: 29.7 kB / 1.249 GB, free: 128 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.4884/0.7839, allocations: 395.4 kB / 1.249 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.7841, allocations: 159.9 kB / 1.249 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7843, allocations: 110.8 kB / 1.249 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.7844, allocations: 365.3 kB / 1.25 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.7847, allocations: 240.3 kB / 1.25 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.7852, allocations: 457.3 kB / 1.25 GB, free: 29.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.786, allocations: 0.7465 MB / 1.251 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.786, allocations: 2.75 kB / 1.251 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001838/0.7878, allocations: 1.052 MB / 1.252 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7879, allocations: 10.11 kB / 1.252 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.7879, allocations: 7.438 kB / 1.252 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/0.7889, allocations: 318.9 kB / 1.252 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.7892, allocations: 97.94 kB / 1.253 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.7949, allocations: 7.472 MB / 1.26 GB, free: 23.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.7954, allocations: 30.2 kB / 1.26 GB, free: 23.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.7955, allocations: 26.19 kB / 1.26 GB, free: 23.77 MB / 0.9981 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.0002934/0.7958, allocations: 243.5 kB / 1.26 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.7958, allocations: 66.58 kB / 1.26 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.7972, allocations: 0.8929 MB / 1.261 GB, free: 23.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.7972, allocations: 9.625 kB / 1.261 GB, free: 23.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7973, allocations: 2.656 kB / 1.261 GB, free: 23.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7973, allocations: 6.75 kB / 1.261 GB, free: 23.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.7996, allocations: 1.683 MB / 1.263 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7996, allocations: 3.172 kB / 1.263 GB, free: 23.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.7998, allocations: 42.56 kB / 1.263 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008235/0.8006, allocations: 309 kB / 1.263 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.8006, allocations: 10.44 kB / 1.263 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/0.8057, allocations: 7.463 MB / 1.27 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8057, allocations: 3.141 kB / 1.27 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.8072, allocations: 0.9932 MB / 1.271 GB, free: 16.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.8074, allocations: 180.7 kB / 1.271 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.8075, allocations: 7.531 kB / 1.272 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.8078, allocations: 24.25 kB / 1.272 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8079, allocations: 47.16 kB / 1.272 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.8079, allocations: 13.73 kB / 1.272 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003536/0.8083, allocations: 314.8 kB / 1.272 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.12e-07/0.8083, allocations: 0.7188 kB / 1.272 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008502/0.8091, allocations: 196.8 kB / 1.272 GB, free: 16.52 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.001807/0.8109, allocations: 1.558 MB / 1.274 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.8126, allocations: 1.193 MB / 1.275 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8126, allocations: 1.312 kB / 1.275 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.8137, allocations: 0.8569 MB / 1.276 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.8146, allocations: 210.8 kB / 1.276 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/0.8225, allocations: 5.889 MB / 1.282 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.8231, allocations: 0.9909 MB / 1.283 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.8234, allocations: 101.4 kB / 1.283 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.8236, allocations: 231.8 kB / 1.283 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.8236, allocations: 1.562 kB / 1.283 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.8653, allocations: 15.4 MB / 1.298 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.511/10.38, allocations: 7.438 kB / 1.298 GB, free: 8.457 MB / 0.9981 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 50 --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