Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.00147/0.00147, 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.001763/0.001763, allocations: 193.5 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.35/1.35, 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.725/2.725, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.53 kB / 0.9083 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01141/0.2826, allocations: 10.02 MB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004867/0.2875, allocations: 3.045 MB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.2881, allocations: 35.81 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.2899, allocations: 0.6826 MB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.2913, allocations: 0.6883 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2927, allocations: 0.638 MB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.2952, allocations: 2.738 MB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.2979, allocations: 2.547 MB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2994, allocations: 1.118 MB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.3013, allocations: 1.387 MB / 1.086 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.3018, allocations: 220 kB / 1.086 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3029, allocations: 487.4 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.3039, allocations: 0.9863 MB / 1.088 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.3052, allocations: 1.008 MB / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.308, allocations: 3.389 MB / 1.092 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.308, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.308, allocations: 3.938 kB / 1.092 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.59e-05/0.3081, allocations: 0 / 1.092 GB, free: 1.371 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004022/0.3121, allocations: 1.944 MB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3122, allocations: 12.03 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.3127, allocations: 248.7 kB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/0.3187, allocations: 0.8921 MB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.3206, allocations: 1.118 MB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.3207, allocations: 111.3 kB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.321, allocations: 148.3 kB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.3254, allocations: 3.017 MB / 1.099 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.3255, allocations: 0 / 1.099 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.3257, allocations: 67.91 kB / 1.099 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.3259, allocations: 179 kB / 1.1 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004022/0.3299, allocations: 2.6 MB / 1.102 GB, free: 6.832 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.347, allocations: 13.57 MB / 1.115 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3488, allocations: 1.287 MB / 1.117 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3502, allocations: 1.054 MB / 1.118 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.3502, allocations: 16.53 kB / 1.118 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3503, allocations: 43.22 kB / 1.118 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.3503, allocations: 0 / 1.118 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07685/0.4272, allocations: 19.38 MB / 1.137 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4272, allocations: 68.72 kB / 1.137 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.4286, allocations: 0.9222 MB / 1.138 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.4288, allocations: 49.7 kB / 1.138 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.4293, allocations: 0.7244 MB / 1.138 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005032/0.4298, allocations: 493.1 kB / 1.139 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006688/0.4305, allocations: 295.4 kB / 1.139 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4307, allocations: 349.9 kB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.4325, allocations: 1.331 MB / 1.141 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.4346, allocations: 1.666 MB / 1.142 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003969/0.4386, allocations: 3.089 MB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.4386, allocations: 4 kB / 1.145 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01186/0.4505, allocations: 5.636 MB / 1.151 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.4506, allocations: 13.5 kB / 1.151 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.4506, allocations: 12.66 kB / 1.151 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008901/0.4595, allocations: 2.738 MB / 1.154 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.4604, allocations: 191.6 kB / 1.154 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03554/0.4959, allocations: 25.74 MB / 1.179 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4975, allocations: 96.06 kB / 1.179 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.4977, allocations: 60 kB / 1.179 GB, free: 5.867 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.4989, allocations: 0.7359 MB / 1.18 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.4992, allocations: 114.6 kB / 1.18 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.5105, allocations: 5.392 MB / 1.185 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.5106, allocations: 12 kB / 1.185 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.121e-05/0.5106, allocations: 20 kB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.5106, allocations: 7.922 kB / 1.185 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.5266, allocations: 8.636 MB / 1.194 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5267, allocations: 4 kB / 1.194 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.5271, allocations: 124.2 kB / 1.194 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008576/0.5357, allocations: 2.57 MB / 1.196 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.5359, allocations: 28 kB / 1.196 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/0.5684, allocations: 23 MB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5684, allocations: 4 kB / 1.219 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.5793, allocations: 5.138 MB / 1.224 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/0.5802, allocations: 471.6 kB / 1.224 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.5806, allocations: 24.19 kB / 1.224 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5817, allocations: 79.89 kB / 1.224 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/0.5822, allocations: 129 kB / 1.224 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5824, allocations: 36 kB / 1.224 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008714/0.5832, allocations: 0.6434 MB / 1.225 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5832, allocations: 0 / 1.225 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002319/0.5856, allocations: 0.7227 MB / 1.226 GB, free: 5.156 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/0.5966, allocations: 5.715 MB / 1.231 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008383/0.605, allocations: 4.745 MB / 1.236 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6051, allocations: 0 / 1.236 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005349/0.6104, allocations: 2.639 MB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.6121, allocations: 226.3 kB / 1.239 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4753/1.087, allocations: 21.84 MB / 1.26 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.089, allocations: 1.702 MB / 1.262 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008701/1.09, allocations: 326.1 kB / 1.262 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/1.09, allocations: 0.5323 MB / 1.263 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/1.09, allocations: 3.828 kB / 1.263 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/1.168, allocations: 51.37 MB / 1.313 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.731/10.9, allocations: 5.594 kB / 1.313 GB, free: 142.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches