Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001897/0.001897, 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.00201/0.00201, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.7424 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 60.89 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2593, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04372/0.3031, allocations: 35.12 MB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.3194, allocations: 9.937 MB / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3205, allocations: 151.2 kB / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008842/0.3294, allocations: 3.804 MB / 1.112 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.333, allocations: 2.044 MB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.3368, allocations: 1.963 MB / 1.116 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00822/0.3451, allocations: 7.959 MB / 1.124 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.3564, allocations: 9.593 MB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.3606, allocations: 3.357 MB / 1.136 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004503/0.3651, allocations: 3.734 MB / 1.14 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009648/0.3661, allocations: 0.6797 MB / 1.141 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.3686, allocations: 1.443 MB / 1.142 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.3712, allocations: 2.62 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003296/0.3746, allocations: 3.101 MB / 1.148 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009599/0.3842, allocations: 10.32 MB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3842, allocations: 0 / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3842, allocations: 4 kB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.814e-05/0.3843, allocations: 0 / 1.158 GB, free: 13.96 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009658/0.3939, allocations: 5.397 MB / 1.163 GB, free: 8.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.394, allocations: 16.03 kB / 1.163 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009691/0.395, allocations: 0.6945 MB / 1.164 GB, free: 7.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.3995, allocations: 0.9626 MB / 1.165 GB, free: 6.805 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/0.4044, allocations: 2.999 MB / 1.168 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.4047, allocations: 353.9 kB / 1.168 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007386/0.4055, allocations: 464.3 kB / 1.168 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.4176, allocations: 7.907 MB / 1.176 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-05/0.4177, allocations: 19.78 kB / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/0.4183, allocations: 227.8 kB / 1.176 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005329/0.4188, allocations: 365.1 kB / 1.177 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009794/0.4286, allocations: 5.937 MB / 1.182 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.4643, allocations: 36.2 MB / 1.218 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.4678, allocations: 2.139 MB / 1.22 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.4699, allocations: 1.484 MB / 1.221 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.47, allocations: 17.31 kB / 1.221 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.47, allocations: 55.81 kB / 1.221 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.126e-06/0.47, allocations: 3.938 kB / 1.221 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01381/0.4838, allocations: 7.536 MB / 1.229 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.4839, allocations: 68.72 kB / 1.229 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.4864, allocations: 1.864 MB / 1.231 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.4865, allocations: 49.7 kB / 1.231 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.4882, allocations: 2.134 MB / 1.233 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.4887, allocations: 0.5585 MB / 1.233 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006541/0.4894, allocations: 399.7 kB / 1.234 GB, free: 12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4895, allocations: 305.1 kB / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4913, allocations: 1.062 MB / 1.235 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.4937, allocations: 1.768 MB / 1.237 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.498, allocations: 3.049 MB / 1.24 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.498, allocations: 7.938 kB / 1.24 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006646/0.5047, allocations: 3.913 MB / 1.244 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5047, allocations: 21.95 kB / 1.244 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.5047, allocations: 24 kB / 1.244 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.5073, allocations: 0.9397 MB / 1.244 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4204/0.9276, allocations: 423.7 kB / 1.245 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.944, allocations: 22.76 MB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.9459, allocations: 123.5 kB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.9461, allocations: 92.48 kB / 1.267 GB, free: 150.5 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002158/0.9483, allocations: 1.65 MB / 1.269 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/0.9487, allocations: 257.2 kB / 1.269 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/0.9535, allocations: 3.262 MB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9535, allocations: 15.31 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.9535, allocations: 10.91 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.9535, allocations: 8.016 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.9646, allocations: 7.557 MB / 1.28 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.9646, allocations: 4.188 kB / 1.28 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.9656, allocations: 223.3 kB / 1.28 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.9678, allocations: 0.8937 MB / 1.281 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/0.9679, allocations: 35.64 kB / 1.281 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.9838, allocations: 22.74 MB / 1.303 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9838, allocations: 12.25 kB / 1.303 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.9885, allocations: 3.378 MB / 1.306 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/0.9893, allocations: 0.5289 MB / 1.307 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.9896, allocations: 30.41 kB / 1.307 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9907, allocations: 91.69 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.9909, allocations: 145.5 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9911, allocations: 51.56 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001475/0.9925, allocations: 1.223 MB / 1.308 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9925, allocations: 4 kB / 1.308 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002505/0.9951, allocations: 0.9074 MB / 1.309 GB, free: 123.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004696/0.9998, allocations: 3.985 MB / 1.313 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00672/1.006, allocations: 5.197 MB / 1.318 GB, free: 119 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.007, allocations: 3.969 kB / 1.318 GB, free: 119 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.01, allocations: 2.996 MB / 1.321 GB, free: 117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.013, allocations: 0.831 MB / 1.322 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/1.039, allocations: 27.54 MB / 1.349 GB, free: 93.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/1.042, allocations: 3.205 MB / 1.352 GB, free: 89.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001466/1.043, allocations: 0.5286 MB / 1.353 GB, free: 89.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.044, allocations: 1.655 MB / 1.354 GB, free: 87.64 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.044, allocations: 0 / 1.354 GB, free: 87.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.157, allocations: 70.88 MB / 1.423 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.94, allocations: 3.984 kB / 1.423 GB, free: 17.62 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches