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.008362/0.008362, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001854/0.001854, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2813, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02394/0.3053, allocations: 22.6 MB / 1.229 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3155, allocations: 6.225 MB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.3172, allocations: 91.56 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.3213, allocations: 1.545 MB / 1.237 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.3253, allocations: 1.626 MB / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.3286, allocations: 1.35 MB / 1.24 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006523/0.3352, allocations: 5.931 MB / 1.246 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6011/0.9363, allocations: 6.039 MB / 1.252 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.9402, allocations: 2.455 MB / 1.254 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.9443, allocations: 2.862 MB / 1.257 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009766/0.9453, allocations: 457.6 kB / 1.257 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.9484, allocations: 1.099 MB / 1.258 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003205/0.9516, allocations: 2.028 MB / 1.26 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003838/0.9555, allocations: 2.167 MB / 1.262 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.9666, allocations: 7.291 MB / 1.27 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9667, allocations: 0 / 1.27 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9667, allocations: 2.062 kB / 1.27 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002951/0.967, allocations: 0 / 1.27 GB, free: 9.156 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.01272/0.9797, allocations: 3.822 MB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9798, allocations: 10.44 kB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001362/0.9811, allocations: 0.4998 MB / 1.274 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/0.9878, allocations: 1.206 MB / 1.275 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/0.994, allocations: 2.333 MB / 1.277 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.9943, allocations: 254.3 kB / 1.277 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.9954, allocations: 312.1 kB / 1.278 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/1.009, allocations: 6.218 MB / 1.284 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/1.009, allocations: 13.7 kB / 1.284 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005026/1.009, allocations: 141 kB / 1.284 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005151/1.01, allocations: 409.3 kB / 1.284 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009284/1.019, allocations: 4.661 MB / 1.289 GB, free: 5.961 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.03766/1.057, allocations: 28.95 MB / 1.317 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/1.059, allocations: 1.42 MB / 1.319 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.061, allocations: 1.485 MB / 1.32 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/1.061, allocations: 13.88 kB / 1.32 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.062, allocations: 43.34 kB / 1.32 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/1.062, allocations: 0 / 1.32 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=179): time 0.1453/1.207, allocations: 37.26 MB / 1.356 GB, free: 9.617 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/1.207, allocations: 76.77 kB / 1.357 GB, free: 9.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/1.209, allocations: 1.418 MB / 1.358 GB, free: 8.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002848/1.21, allocations: 57.7 kB / 1.358 GB, free: 8.051 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009584/1.21, allocations: 1.541 MB / 1.36 GB, free: 6.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006844/1.211, allocations: 0.6055 MB / 1.36 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008615/1.212, allocations: 385.3 kB / 1.36 GB, free: 5.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/1.212, allocations: 305.1 kB / 1.361 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/1.215, allocations: 1.788 MB / 1.363 GB, free: 3.418 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.218, allocations: 2.351 MB / 1.365 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/1.224, allocations: 4.392 MB / 1.369 GB, free: 12.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/1.224, allocations: 4 kB / 1.369 GB, free: 12.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01776/1.241, allocations: 8.557 MB / 1.377 GB, free: 3.875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.241, allocations: 12 kB / 1.377 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/1.241, allocations: 20 kB / 1.377 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01456/1.256, allocations: 4.637 MB / 1.382 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.257, allocations: 305.7 kB / 1.382 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04619/1.304, allocations: 32.59 MB / 1.414 GB, free: 13.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/1.306, allocations: 147.8 kB / 1.414 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/1.306, allocations: 84 kB / 1.414 GB, free: 13.34 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.002978/1.309, allocations: 1.329 MB / 1.416 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.31, allocations: 197.6 kB / 1.416 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.327, allocations: 8.442 MB / 1.424 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.328, allocations: 16 kB / 1.424 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-05/1.328, allocations: 24.25 kB / 1.424 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/1.328, allocations: 11.97 kB / 1.424 GB, free: 3.391 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.354, allocations: 12.84 MB / 1.437 GB, free: 6.555 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.354, allocations: 8.844 kB / 1.437 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/1.355, allocations: 165.8 kB / 1.437 GB, free: 6.395 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01411/1.369, allocations: 4.496 MB / 1.441 GB, free: 1.883 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.369, allocations: 32 kB / 1.441 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04704/1.416, allocations: 32.19 MB / 1.473 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.416, allocations: 10.91 kB / 1.473 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.433, allocations: 8.236 MB / 1.481 GB, free: 8.652 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.435, allocations: 0.6156 MB / 1.481 GB, free: 8.016 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006528/1.436, allocations: 47.94 kB / 1.481 GB, free: 7.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.438, allocations: 139.8 kB / 1.482 GB, free: 7.832 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008247/1.439, allocations: 168.1 kB / 1.482 GB, free: 7.676 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/1.439, allocations: 51.98 kB / 1.482 GB, free: 7.625 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001679/1.44, allocations: 0.9588 MB / 1.483 GB, free: 6.672 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.44, allocations: 0 / 1.483 GB, free: 6.672 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003883/1.444, allocations: 1.117 MB / 1.484 GB, free: 5.555 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.01705/1.461, allocations: 8.833 MB / 1.492 GB, free: 12.63 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.474, allocations: 6.538 MB / 1.499 GB, free: 6.031 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.474, allocations: 0 / 1.499 GB, free: 6.031 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009166/1.483, allocations: 4.37 MB / 1.503 GB, free: 1.598 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.487, allocations: 0.5129 MB / 1.504 GB, free: 1.094 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06477/1.551, allocations: 33.65 MB / 1.536 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004712/1.556, allocations: 2.715 MB / 1.539 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001185/1.557, allocations: 396.5 kB / 1.539 GB, free: 11.41 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.559, allocations: 1.21 MB / 1.541 GB, free: 10.2 MB / 1.232 GB Notification: Performance of SimCode: time 1.302e-06/1.559, allocations: 0 / 1.541 GB, free: 10.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1373/1.696, allocations: 85.78 MB / 1.624 GB, free: 5.012 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.21, allocations: 6.172 kB / 1.624 GB, free: 5.008 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