Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.00435/0.004351, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001091/0.001091, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.89 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02514/0.3094, allocations: 22.6 MB / 1.229 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3198, allocations: 6.229 MB / 1.235 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.3217, allocations: 95.5 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00401/0.3258, allocations: 1.545 MB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.3293, allocations: 1.625 MB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.3322, allocations: 1.343 MB / 1.24 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005544/0.3378, allocations: 5.939 MB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5978/0.9356, allocations: 6.042 MB / 1.252 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.9392, allocations: 2.414 MB / 1.254 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.9431, allocations: 2.868 MB / 1.257 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007639/0.9439, allocations: 457.6 kB / 1.257 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.9465, allocations: 1.095 MB / 1.258 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.949, allocations: 2.03 MB / 1.26 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.9519, allocations: 2.165 MB / 1.262 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.9621, allocations: 7.295 MB / 1.27 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.9621, allocations: 4 kB / 1.27 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9621, allocations: 0 / 1.27 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002665/0.9624, allocations: 3.531 kB / 1.27 GB, free: 9.324 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01127/0.9737, allocations: 3.821 MB / 1.273 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9737, allocations: 14.25 kB / 1.273 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008242/0.9746, allocations: 0.502 MB / 1.274 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/0.9813, allocations: 1.21 MB / 1.275 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/0.9875, allocations: 2.333 MB / 1.277 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.9877, allocations: 242.9 kB / 1.277 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.9888, allocations: 320.2 kB / 1.278 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/1, allocations: 6.213 MB / 1.284 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-05/1, allocations: 12.25 kB / 1.284 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/1.001, allocations: 142 kB / 1.284 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006185/1.001, allocations: 408.4 kB / 1.284 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009358/1.011, allocations: 4.662 MB / 1.289 GB, free: 6.129 MB / 0.9981 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.03882/1.05, allocations: 28.96 MB / 1.317 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/1.053, allocations: 1.417 MB / 1.319 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/1.056, allocations: 1.494 MB / 1.32 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/1.056, allocations: 11.12 kB / 1.32 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/1.056, allocations: 51.5 kB / 1.32 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 4.398e-06/1.056, allocations: 0 / 1.32 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1448/1.201, allocations: 37.25 MB / 1.356 GB, free: 9.707 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.201, allocations: 69.41 kB / 1.357 GB, free: 9.629 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.203, allocations: 1.419 MB / 1.358 GB, free: 8.203 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/1.203, allocations: 57.08 kB / 1.358 GB, free: 8.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/1.204, allocations: 1.54 MB / 1.359 GB, free: 6.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/1.205, allocations: 0.6137 MB / 1.36 GB, free: 5.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008016/1.205, allocations: 386.1 kB / 1.36 GB, free: 5.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/1.205, allocations: 305.1 kB / 1.361 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1.208, allocations: 1.784 MB / 1.362 GB, free: 3.512 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/1.211, allocations: 2.352 MB / 1.365 GB, free: 0.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.216, allocations: 4.386 MB / 1.369 GB, free: 12.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.216, allocations: 4 kB / 1.369 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01718/1.233, allocations: 8.563 MB / 1.377 GB, free: 3.965 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.233, allocations: 14.53 kB / 1.377 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.233, allocations: 16 kB / 1.377 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01428/1.247, allocations: 4.644 MB / 1.382 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.249, allocations: 305.5 kB / 1.382 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04748/1.296, allocations: 32.58 MB / 1.414 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.299, allocations: 147.8 kB / 1.414 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/1.299, allocations: 84 kB / 1.414 GB, free: 13.43 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002795/1.302, allocations: 1.332 MB / 1.416 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/1.302, allocations: 201.6 kB / 1.416 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.322, allocations: 8.429 MB / 1.424 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.322, allocations: 27.41 kB / 1.424 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/1.322, allocations: 24 kB / 1.424 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/1.322, allocations: 15.89 kB / 1.424 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.349, allocations: 12.84 MB / 1.437 GB, free: 6.648 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.349, allocations: 12.03 kB / 1.437 GB, free: 6.637 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/1.35, allocations: 161.5 kB / 1.437 GB, free: 6.488 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01431/1.364, allocations: 4.493 MB / 1.441 GB, free: 1.984 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/1.364, allocations: 40 kB / 1.441 GB, free: 1.945 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04711/1.412, allocations: 32.18 MB / 1.473 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.412, allocations: 11.19 kB / 1.473 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.429, allocations: 8.226 MB / 1.481 GB, free: 8.75 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.43, allocations: 0.6195 MB / 1.481 GB, free: 8.109 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/1.431, allocations: 47.92 kB / 1.481 GB, free: 8.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.432, allocations: 131.8 kB / 1.481 GB, free: 7.934 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/1.433, allocations: 175.6 kB / 1.482 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.433, allocations: 51.98 kB / 1.482 GB, free: 7.715 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001237/1.434, allocations: 0.9556 MB / 1.483 GB, free: 6.766 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.62e-07/1.434, allocations: 0 / 1.483 GB, free: 6.766 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003275/1.438, allocations: 1.118 MB / 1.484 GB, free: 5.648 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01644/1.454, allocations: 8.839 MB / 1.492 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.466, allocations: 6.541 MB / 1.499 GB, free: 6.141 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.466, allocations: 0 / 1.499 GB, free: 6.141 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008984/1.475, allocations: 4.36 MB / 1.503 GB, free: 1.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.478, allocations: 0.5167 MB / 1.504 GB, free: 1.207 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05895/1.537, allocations: 33.65 MB / 1.536 GB, free: 14.67 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/1.54, allocations: 2.727 MB / 1.539 GB, free: 11.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001084/1.541, allocations: 384.6 kB / 1.539 GB, free: 11.53 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.542, allocations: 1.214 MB / 1.541 GB, free: 10.31 MB / 1.232 GB Notification: Performance of SimCode: time 4.91e-07/1.542, allocations: 0 / 1.541 GB, free: 10.31 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.676, allocations: 83.9 MB / 1.623 GB, free: 7.004 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.95, allocations: 1.688 kB / 1.623 GB, free: 7.004 MB / 1.311 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches