Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 152 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.001808/0.001808, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 60.81 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2776, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0402/0.3178, allocations: 37.6 MB / 1.1 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.3387, allocations: 13.04 MB / 1.113 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.3422, allocations: 171.1 kB / 1.113 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009934/0.3522, allocations: 3.881 MB / 1.117 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007699/0.3599, allocations: 2.487 MB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00746/0.3674, allocations: 2.704 MB / 1.122 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3783, allocations: 9.571 MB / 1.131 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/0.3922, allocations: 10.63 MB / 1.142 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006508/0.3987, allocations: 3.976 MB / 1.146 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006944/0.4057, allocations: 4.373 MB / 1.15 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.4078, allocations: 0.7695 MB / 1.151 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.4127, allocations: 1.783 MB / 1.153 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004176/0.4168, allocations: 3.029 MB / 1.155 GB, free: 132 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006921/0.4238, allocations: 3.583 MB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.437, allocations: 11.78 MB / 1.17 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4371, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4371, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003287/0.4374, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01694/0.4544, allocations: 6.362 MB / 1.177 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4544, allocations: 8.031 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001625/0.4561, allocations: 0.7441 MB / 1.177 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008563/0.4646, allocations: 1.305 MB / 1.179 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/0.4725, allocations: 3.564 MB / 1.182 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.4729, allocations: 378.5 kB / 1.183 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.4748, allocations: 0.5079 MB / 1.183 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.4957, allocations: 8.89 MB / 1.192 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/0.496, allocations: 31.7 kB / 1.192 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/0.4976, allocations: 227.9 kB / 1.192 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/0.5001, allocations: 0.6265 MB / 1.193 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.515, allocations: 7.014 MB / 1.199 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0509/0.566, allocations: 40.32 MB / 1.239 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/0.5702, allocations: 2.902 MB / 1.242 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/0.5738, allocations: 2.663 MB / 1.244 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.574, allocations: 26.09 kB / 1.244 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.5741, allocations: 68.59 kB / 1.244 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.619e-06/0.5741, allocations: 0 / 1.244 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.7979/1.372, allocations: 74.71 MB / 1.317 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/1.372, allocations: 98.73 kB / 1.317 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/1.375, allocations: 2.355 MB / 1.32 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006916/1.376, allocations: 97.7 kB / 1.32 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009448/1.376, allocations: 2.332 MB / 1.322 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.378, allocations: 1.45 MB / 1.323 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.379, allocations: 0.7215 MB / 1.324 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/1.379, allocations: 301.1 kB / 1.324 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/1.382, allocations: 2.999 MB / 1.327 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/1.386, allocations: 3.839 MB / 1.331 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/1.395, allocations: 7.387 MB / 1.338 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.395, allocations: 12 kB / 1.338 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02599/1.421, allocations: 12.55 MB / 1.351 GB, free: 97.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.421, allocations: 16 kB / 1.351 GB, free: 97.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.421, allocations: 24 kB / 1.351 GB, free: 97.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02109/1.442, allocations: 6.068 MB / 1.357 GB, free: 91.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.444, allocations: 495.2 kB / 1.357 GB, free: 91.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0686/1.513, allocations: 73.05 MB / 1.428 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.517, allocations: 219.9 kB / 1.429 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/1.518, allocations: 155.9 kB / 1.429 GB, free: 14.44 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002862/1.52, allocations: 1.985 MB / 1.431 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/1.521, allocations: 395.4 kB / 1.431 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02403/1.545, allocations: 12.22 MB / 1.443 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-05/1.545, allocations: 43.94 kB / 1.443 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001857/1.546, allocations: 48 kB / 1.443 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.873e-05/1.546, allocations: 23.92 kB / 1.443 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04103/1.587, allocations: 19.15 MB / 1.462 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/1.587, allocations: 4.125 kB / 1.462 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.589, allocations: 291.5 kB / 1.462 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02121/1.61, allocations: 5.623 MB / 1.468 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.61, allocations: 80.75 kB / 1.468 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0813/1.692, allocations: 70.65 MB / 1.537 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.692, allocations: 11.94 kB / 1.537 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/1.723, allocations: 15.62 MB / 1.552 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.726, allocations: 1.039 MB / 1.553 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/1.727, allocations: 87.97 kB / 1.553 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.729, allocations: 211.7 kB / 1.553 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/1.731, allocations: 406.2 kB / 1.554 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.731, allocations: 108 kB / 1.554 GB, free: 10.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002158/1.733, allocations: 1.556 MB / 1.555 GB, free: 8.984 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.733, allocations: 0 / 1.555 GB, free: 8.984 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005701/1.739, allocations: 1.859 MB / 1.557 GB, free: 7.125 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0322/1.771, allocations: 16.3 MB / 1.573 GB, free: 6.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02744/1.799, allocations: 14.97 MB / 1.588 GB, free: 7.328 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.799, allocations: 4 kB / 1.588 GB, free: 7.324 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01571/1.814, allocations: 8.356 MB / 1.596 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/1.82, allocations: 1.196 MB / 1.597 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/1.934, allocations: 60.31 MB / 1.656 GB, free: 13.06 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005039/1.939, allocations: 4.093 MB / 1.66 GB, free: 8.93 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002518/1.942, allocations: 0.663 MB / 1.66 GB, free: 8.262 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/1.944, allocations: 2.128 MB / 1.663 GB, free: 6.133 MB / 1.232 GB Notification: Performance of SimCode: time 8.81e-07/1.944, allocations: 4 kB / 1.663 GB, free: 6.129 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8157/2.76, allocations: 151.5 MB / 1.811 GB, free: 400.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/15.78, allocations: 7.25 kB / 1.811 GB, free: 400.9 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches