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.005239/0.005239, allocations: 96.62 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.001441/0.001441, allocations: 195.6 kB / 16.68 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.724/2.724, allocations: 469.8 MB / 0.7425 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 71.81 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3047, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.5589/0.8636, allocations: 35.12 MB / 1.254 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.8774, allocations: 9.94 MB / 1.264 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.8805, allocations: 146.5 kB / 1.264 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008542/0.889, allocations: 3.805 MB / 1.268 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/0.895, allocations: 2.036 MB / 1.27 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.9004, allocations: 1.957 MB / 1.272 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.9125, allocations: 7.973 MB / 1.28 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.9252, allocations: 9.535 MB / 1.289 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.9312, allocations: 3.382 MB / 1.292 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006958/0.9382, allocations: 3.726 MB / 1.296 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002403/0.9406, allocations: 0.683 MB / 1.297 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.9454, allocations: 1.442 MB / 1.298 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004711/0.9501, allocations: 2.622 MB / 1.301 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006545/0.9567, allocations: 3.103 MB / 1.304 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.9716, allocations: 10.41 MB / 1.314 GB, free: 9.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9716, allocations: 1.094 kB / 1.314 GB, free: 9.555 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9716, allocations: 0 / 1.314 GB, free: 9.555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002896/0.9719, allocations: 0 / 1.314 GB, free: 9.555 MB / 1.014 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.01692/0.9888, allocations: 5.543 MB / 1.319 GB, free: 5.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9889, allocations: 9.594 kB / 1.319 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002189/0.9911, allocations: 0.7008 MB / 1.32 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.9965, allocations: 0.9836 MB / 1.321 GB, free: 5.004 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007012/1.004, allocations: 3.2 MB / 1.324 GB, free: 2.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/1.004, allocations: 358.5 kB / 1.324 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/1.005, allocations: 468.2 kB / 1.325 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/1.023, allocations: 7.907 MB / 1.333 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/1.023, allocations: 20.41 kB / 1.333 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006492/1.024, allocations: 207.3 kB / 1.333 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005442/1.025, allocations: 370 kB / 1.333 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/1.036, allocations: 5.929 MB / 1.339 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04376/1.08, allocations: 36.02 MB / 1.374 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/1.084, allocations: 2.135 MB / 1.376 GB, free: 5.039 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/1.086, allocations: 1.489 MB / 1.378 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/1.086, allocations: 13.31 kB / 1.378 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/1.086, allocations: 59.81 kB / 1.378 GB, free: 3.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 3.526e-06/1.086, allocations: 4 kB / 1.378 GB, free: 3.469 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.0143/1.1, allocations: 7.602 MB / 1.385 GB, free: 11.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/1.1, allocations: 72.72 kB / 1.385 GB, free: 11.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/1.103, allocations: 1.864 MB / 1.387 GB, free: 9.629 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/1.103, allocations: 53.7 kB / 1.387 GB, free: 9.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.105, allocations: 2.184 MB / 1.389 GB, free: 7.367 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005235/1.105, allocations: 0.5849 MB / 1.39 GB, free: 6.777 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006529/1.106, allocations: 400 kB / 1.39 GB, free: 6.379 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.106, allocations: 305.1 kB / 1.39 GB, free: 6.078 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.108, allocations: 1.066 MB / 1.391 GB, free: 5.008 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/1.11, allocations: 1.76 MB / 1.393 GB, free: 2.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/1.114, allocations: 3.052 MB / 1.396 GB, free: 15.56 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.114, allocations: 12 kB / 1.396 GB, free: 15.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006528/1.12, allocations: 3.93 MB / 1.4 GB, free: 11.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.12, allocations: 20.25 kB / 1.4 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.12, allocations: 20 kB / 1.4 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/1.123, allocations: 0.9272 MB / 1.401 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.124, allocations: 427.2 kB / 1.401 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.146, allocations: 22.77 MB / 1.424 GB, free: 1.691 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.148, allocations: 127.9 kB / 1.424 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.149, allocations: 92 kB / 1.424 GB, free: 1.477 MB / 1.107 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.002868/1.151, allocations: 1.655 MB / 1.425 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/1.152, allocations: 266.4 kB / 1.426 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/1.158, allocations: 3.264 MB / 1.429 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.158, allocations: 16 kB / 1.429 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.158, allocations: 15.94 kB / 1.429 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.158, allocations: 7.969 kB / 1.429 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.171, allocations: 7.552 MB / 1.436 GB, free: 4.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.171, allocations: 8 kB / 1.436 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009395/1.172, allocations: 215.6 kB / 1.436 GB, free: 4.273 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002406/1.174, allocations: 0.8968 MB / 1.437 GB, free: 3.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.174, allocations: 32 kB / 1.437 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/1.196, allocations: 22.74 MB / 1.46 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.196, allocations: 8.062 kB / 1.46 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/1.202, allocations: 3.388 MB / 1.463 GB, free: 7.371 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.203, allocations: 0.5384 MB / 1.463 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.204, allocations: 35.92 kB / 1.463 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.205, allocations: 95.89 kB / 1.464 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/1.205, allocations: 140.9 kB / 1.464 GB, free: 6.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.205, allocations: 52.14 kB / 1.464 GB, free: 6.496 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001732/1.207, allocations: 1.217 MB / 1.465 GB, free: 5.266 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.207, allocations: 0 / 1.465 GB, free: 5.266 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002853/1.21, allocations: 0.9102 MB / 1.466 GB, free: 4.355 MB / 1.154 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.005813/1.216, allocations: 4.005 MB / 1.47 GB, free: 236 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007073/1.223, allocations: 4.436 MB / 1.474 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.223, allocations: 0 / 1.474 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004621/1.227, allocations: 3.003 MB / 1.477 GB, free: 8.48 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.231, allocations: 0.825 MB / 1.478 GB, free: 7.668 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/1.273, allocations: 25.19 MB / 1.502 GB, free: 13.37 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/1.277, allocations: 3.205 MB / 1.506 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001738/1.279, allocations: 0.5293 MB / 1.506 GB, free: 9.598 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/1.281, allocations: 1.647 MB / 1.508 GB, free: 7.949 MB / 1.201 GB Notification: Performance of SimCode: time 5.51e-07/1.281, allocations: 0 / 1.508 GB, free: 7.949 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/2.35, allocations: 70.27 MB / 1.576 GB, free: 2.555 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.79/30.14, allocations: 10.28 kB / 1.576 GB, free: 2.547 MB / 1.264 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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