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.007389/0.007389, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.00172/0.00172, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.428/2.428, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7516, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02283/0.7745, allocations: 22.6 MB / 1.229 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.7858, allocations: 6.225 MB / 1.235 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.7881, allocations: 91.56 kB / 1.236 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.7927, allocations: 1.539 MB / 1.237 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.7974, allocations: 1.625 MB / 1.239 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.8011, allocations: 1.349 MB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006826/0.808, allocations: 5.932 MB / 1.246 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00844/0.8164, allocations: 6.047 MB / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.8207, allocations: 2.446 MB / 1.254 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/0.8252, allocations: 2.87 MB / 1.257 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.8266, allocations: 456 kB / 1.257 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.8294, allocations: 1.1 MB / 1.258 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002951/0.8324, allocations: 2.023 MB / 1.26 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004688/0.8371, allocations: 2.174 MB / 1.262 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009482/0.8466, allocations: 7.303 MB / 1.27 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8467, allocations: 0 / 1.27 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8467, allocations: 0 / 1.27 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002499/0.8469, allocations: 0 / 1.27 GB, free: 13.55 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.009639/0.8566, allocations: 3.82 MB / 1.273 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8567, allocations: 8.031 kB / 1.273 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001492/0.8582, allocations: 0.4976 MB / 1.274 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006436/0.8646, allocations: 1.21 MB / 1.275 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/0.8707, allocations: 2.34 MB / 1.277 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.8711, allocations: 238.4 kB / 1.277 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.8729, allocations: 319.9 kB / 1.278 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/0.887, allocations: 6.209 MB / 1.284 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.8872, allocations: 19.88 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009261/0.8881, allocations: 135.9 kB / 1.284 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005281/0.8887, allocations: 414.3 kB / 1.284 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009182/0.8979, allocations: 4.662 MB / 1.289 GB, free: 9.301 MB / 1.014 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.03234/0.9302, allocations: 28.94 MB / 1.317 GB, free: 9.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.9325, allocations: 1.426 MB / 1.319 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.9346, allocations: 1.479 MB / 1.32 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.9347, allocations: 13 kB / 1.32 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.9348, allocations: 47.5 kB / 1.32 GB, free: 6.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 2.945e-06/0.9348, allocations: 0 / 1.32 GB, free: 6.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.1268/1.062, allocations: 37.25 MB / 1.356 GB, free: 1.328 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/1.062, allocations: 77.34 kB / 1.357 GB, free: 1.242 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.064, allocations: 1.415 MB / 1.358 GB, free: 15.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/1.064, allocations: 53.7 kB / 1.358 GB, free: 15.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009723/1.065, allocations: 1.542 MB / 1.359 GB, free: 14.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/1.066, allocations: 0.6084 MB / 1.36 GB, free: 13.58 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/1.066, allocations: 379.3 kB / 1.36 GB, free: 13.2 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/1.066, allocations: 305.1 kB / 1.361 GB, free: 12.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/1.069, allocations: 1.784 MB / 1.362 GB, free: 11.11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/1.072, allocations: 2.346 MB / 1.365 GB, free: 8.516 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/1.077, allocations: 4.391 MB / 1.369 GB, free: 3.887 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.077, allocations: 4 kB / 1.369 GB, free: 3.883 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02807/1.105, allocations: 8.578 MB / 1.377 GB, free: 11.26 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/1.105, allocations: 12 kB / 1.377 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/1.105, allocations: 16 kB / 1.377 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01918/1.125, allocations: 4.638 MB / 1.382 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.126, allocations: 303.4 kB / 1.382 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04619/1.172, allocations: 32.59 MB / 1.414 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.174, allocations: 155.8 kB / 1.414 GB, free: 4.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/1.174, allocations: 83.98 kB / 1.414 GB, free: 4.598 MB / 1.139 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.00225/1.177, allocations: 1.328 MB / 1.416 GB, free: 3.258 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/1.177, allocations: 201.7 kB / 1.416 GB, free: 3.062 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.194, allocations: 8.441 MB / 1.424 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.194, allocations: 16 kB / 1.424 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-05/1.194, allocations: 31.94 kB / 1.424 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.194, allocations: 7.969 kB / 1.424 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/1.219, allocations: 12.83 MB / 1.437 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.219, allocations: 8.844 kB / 1.437 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/1.22, allocations: 175.6 kB / 1.437 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.234, allocations: 4.488 MB / 1.441 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/1.234, allocations: 36 kB / 1.441 GB, free: 8.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04283/1.277, allocations: 32.2 MB / 1.473 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.277, allocations: 7.938 kB / 1.473 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.293, allocations: 8.233 MB / 1.481 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.295, allocations: 0.6156 MB / 1.481 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.295, allocations: 48.09 kB / 1.481 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.296, allocations: 131.8 kB / 1.482 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/1.297, allocations: 176.9 kB / 1.482 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.297, allocations: 48 kB / 1.482 GB, free: 14.34 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001252/1.298, allocations: 0.9587 MB / 1.483 GB, free: 13.39 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.298, allocations: 0 / 1.483 GB, free: 13.39 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003123/1.302, allocations: 1.113 MB / 1.484 GB, free: 12.28 MB / 1.217 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.01579/1.317, allocations: 8.84 MB / 1.492 GB, free: 3.293 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.329, allocations: 6.546 MB / 1.499 GB, free: 12.67 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.329, allocations: 4 kB / 1.499 GB, free: 12.67 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008458/1.337, allocations: 4.351 MB / 1.503 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.34, allocations: 0.5222 MB / 1.504 GB, free: 7.727 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0577/1.397, allocations: 33.63 MB / 1.536 GB, free: 5.176 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/1.4, allocations: 2.727 MB / 1.539 GB, free: 2.414 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001016/1.401, allocations: 388.5 kB / 1.539 GB, free: 2.031 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.403, allocations: 1.218 MB / 1.541 GB, free: 0.8164 MB / 1.264 GB Notification: Performance of SimCode: time 7.81e-07/1.403, allocations: 0 / 1.541 GB, free: 0.8164 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6885/2.091, allocations: 85.75 MB / 1.624 GB, free: 292.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/14.45, allocations: 4.062 kB / 1.624 GB, free: 292.9 MB / 1.279 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