Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_RLC,fileNamePrefix="Buildings_11_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_11_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.001589/0.001589, 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.001812/0.001812, allocations: 196 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.76/2.76, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 69.52 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2696, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0446/0.3142, allocations: 37.59 MB / 1.101 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.3361, allocations: 13.05 MB / 1.114 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.3394, allocations: 175.1 kB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009353/0.3488, allocations: 3.881 MB / 1.117 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005776/0.3545, allocations: 2.483 MB / 1.12 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005887/0.3604, allocations: 2.704 MB / 1.123 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.3715, allocations: 9.575 MB / 1.132 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01299/0.3845, allocations: 10.63 MB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005593/0.3901, allocations: 3.965 MB / 1.146 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005706/0.3958, allocations: 4.388 MB / 1.15 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.3969, allocations: 0.7695 MB / 1.151 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.4002, allocations: 1.787 MB / 1.153 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.4031, allocations: 3.029 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.4071, allocations: 3.591 MB / 1.159 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4183, allocations: 11.77 MB / 1.171 GB, free: 404 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4183, allocations: 7.938 kB / 1.171 GB, free: 396 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4183, allocations: 0 / 1.171 GB, free: 396 kB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001681/0.4185, allocations: 0 / 1.171 GB, free: 396 kB / 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.01249/0.431, allocations: 6.35 MB / 1.177 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.431, allocations: 12.03 kB / 1.177 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001037/0.4321, allocations: 0.7519 MB / 1.178 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/0.4397, allocations: 1.301 MB / 1.179 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/0.4469, allocations: 3.557 MB / 1.183 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.4472, allocations: 386.5 kB / 1.183 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008501/0.448, allocations: 0.5079 MB / 1.183 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.4615, allocations: 8.891 MB / 1.192 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.4617, allocations: 23.72 kB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000563/0.4622, allocations: 223.9 kB / 1.192 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.4646, allocations: 0.6343 MB / 1.193 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.4758, allocations: 7.01 MB / 1.2 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.5209, allocations: 40.32 MB / 1.239 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.5249, allocations: 2.901 MB / 1.242 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.5286, allocations: 2.663 MB / 1.245 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.5288, allocations: 30.03 kB / 1.245 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.5288, allocations: 68.59 kB / 1.245 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 3.958e-06/0.5288, allocations: 0 / 1.245 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.7141/1.243, allocations: 74.72 MB / 1.318 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.243, allocations: 98.72 kB / 1.318 GB, free: 132 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/1.245, allocations: 2.363 MB / 1.32 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004535/1.246, allocations: 101.7 kB / 1.32 GB, free: 129.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/1.247, allocations: 2.332 MB / 1.322 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/1.247, allocations: 1.445 MB / 1.324 GB, free: 125.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.249, allocations: 0.7215 MB / 1.325 GB, free: 125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.53e-05/1.249, allocations: 301.1 kB / 1.325 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/1.252, allocations: 2.999 MB / 1.328 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/1.255, allocations: 3.835 MB / 1.332 GB, free: 117.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.262, allocations: 7.384 MB / 1.339 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/1.262, allocations: 8 kB / 1.339 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02341/1.286, allocations: 12.56 MB / 1.351 GB, free: 97.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/1.286, allocations: 16 kB / 1.351 GB, free: 97.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.286, allocations: 24.88 kB / 1.351 GB, free: 97.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02115/1.307, allocations: 6.066 MB / 1.357 GB, free: 91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.309, allocations: 491.2 kB / 1.357 GB, free: 90.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0641/1.373, allocations: 73.05 MB / 1.429 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/1.377, allocations: 219.8 kB / 1.429 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/1.377, allocations: 152 kB / 1.429 GB, free: 13.85 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.002474/1.38, allocations: 1.988 MB / 1.431 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/1.381, allocations: 392.6 kB / 1.431 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/1.404, allocations: 12.23 MB / 1.443 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/1.404, allocations: 47.94 kB / 1.443 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.254e-05/1.404, allocations: 48 kB / 1.444 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/1.404, allocations: 19.92 kB / 1.444 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03917/1.443, allocations: 19.15 MB / 1.462 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.443, allocations: 4 kB / 1.462 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.444, allocations: 287.6 kB / 1.463 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02123/1.466, allocations: 5.624 MB / 1.468 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/1.466, allocations: 76 kB / 1.468 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08867/1.555, allocations: 70.66 MB / 1.537 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.555, allocations: 8.062 kB / 1.537 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/1.586, allocations: 15.62 MB / 1.552 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.589, allocations: 1.039 MB / 1.553 GB, free: 10.76 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/1.589, allocations: 83.98 kB / 1.553 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.592, allocations: 215.7 kB / 1.554 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001365/1.593, allocations: 410.2 kB / 1.554 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.593, allocations: 108.1 kB / 1.554 GB, free: 9.961 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002175/1.595, allocations: 1.556 MB / 1.556 GB, free: 8.406 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.595, allocations: 0 / 1.556 GB, free: 8.406 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004816/1.6, allocations: 1.859 MB / 1.557 GB, free: 6.547 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.03232/1.633, allocations: 16.31 MB / 1.573 GB, free: 6.004 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02778/1.66, allocations: 14.97 MB / 1.588 GB, free: 6.742 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.66, allocations: 7.938 kB / 1.588 GB, free: 6.734 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01524/1.676, allocations: 8.349 MB / 1.596 GB, free: 14.08 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/1.681, allocations: 1.191 MB / 1.597 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/1.782, allocations: 60.32 MB / 1.656 GB, free: 12.47 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/1.787, allocations: 4.086 MB / 1.66 GB, free: 8.352 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002321/1.789, allocations: 0.6669 MB / 1.661 GB, free: 7.68 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/1.792, allocations: 2.132 MB / 1.663 GB, free: 5.547 MB / 1.232 GB Notification: Performance of SimCode: time 5.01e-07/1.792, allocations: 0 / 1.663 GB, free: 5.547 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.153/3.945, allocations: 151.5 MB / 1.811 GB, free: 400.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/18.96, allocations: 11.06 kB / 1.811 GB, free: 400.4 MB / 1.295 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches