Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.ACLineMatrix_RL,fileNamePrefix="Buildings_11_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_11_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.001449/0.001449, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001419/0.001419, allocations: 194.5 kB / 16.26 MB, free: 6.629 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.592/2.592, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.95 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2528, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02468/0.2775, allocations: 22.41 MB / 1.085 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009482/0.287, allocations: 6.194 MB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.2878, allocations: 83.5 kB / 1.092 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.291, allocations: 1.419 MB / 1.093 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.2936, allocations: 1.514 MB / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.296, allocations: 1.221 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00555/0.3015, allocations: 5.955 MB / 1.101 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008899/0.3105, allocations: 7.247 MB / 1.109 GB, free: 256 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.3135, allocations: 2.457 MB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.3169, allocations: 3.034 MB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.3174, allocations: 456 kB / 1.114 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.3191, allocations: 1.104 MB / 1.115 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001796/0.3209, allocations: 2.031 MB / 1.117 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.3229, allocations: 2.17 MB / 1.12 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006232/0.3292, allocations: 7.295 MB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3292, allocations: 0 / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3292, allocations: 0 / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.908e-05/0.3293, allocations: 0 / 1.127 GB, free: 13.66 MB / 0.8887 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.005619/0.3349, allocations: 3.82 MB / 1.13 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3349, allocations: 15.97 kB / 1.13 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006143/0.3356, allocations: 0.5092 MB / 1.131 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.341, allocations: 1.21 MB / 1.132 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.3442, allocations: 2.211 MB / 1.134 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3444, allocations: 242.4 kB / 1.134 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.3449, allocations: 323.8 kB / 1.135 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008539/0.3534, allocations: 6.209 MB / 1.141 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.3535, allocations: 15.88 kB / 1.141 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.3538, allocations: 139.9 kB / 1.141 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004577/0.3543, allocations: 410.3 kB / 1.141 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006633/0.3609, allocations: 4.658 MB / 1.146 GB, free: 9.516 MB / 0.9044 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.02837/0.3893, allocations: 29.13 MB / 1.174 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.3912, allocations: 1.413 MB / 1.176 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.393, allocations: 1.483 MB / 1.177 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.3931, allocations: 16.98 kB / 1.177 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3932, allocations: 55.44 kB / 1.177 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.925e-06/0.3932, allocations: 0 / 1.177 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1237/0.5169, allocations: 37.23 MB / 1.214 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.517, allocations: 73.34 kB / 1.214 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.5188, allocations: 1.423 MB / 1.215 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.5189, allocations: 57.7 kB / 1.215 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.52, allocations: 1.527 MB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.5206, allocations: 0.6161 MB / 1.217 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007166/0.5213, allocations: 383.3 kB / 1.218 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5214, allocations: 301.1 kB / 1.218 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.5239, allocations: 1.788 MB / 1.22 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.5268, allocations: 2.35 MB / 1.222 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/0.5325, allocations: 4.391 MB / 1.226 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.5325, allocations: 8 kB / 1.226 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01683/0.5493, allocations: 8.559 MB / 1.235 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.5494, allocations: 21.8 kB / 1.235 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.5494, allocations: 20 kB / 1.235 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/0.5637, allocations: 4.666 MB / 1.239 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5647, allocations: 307.4 kB / 1.24 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.457/1.022, allocations: 32.59 MB / 1.271 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.024, allocations: 150.2 kB / 1.271 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.024, allocations: 82.89 kB / 1.272 GB, free: 157.8 MB / 0.9981 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.001865/1.026, allocations: 1.335 MB / 1.273 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/1.026, allocations: 198.1 kB / 1.273 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/1.041, allocations: 8.435 MB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.041, allocations: 16.69 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/1.041, allocations: 33.25 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.041, allocations: 9.938 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.061, allocations: 12.86 MB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.061, allocations: 7.844 kB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/1.061, allocations: 170.4 kB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01177/1.073, allocations: 4.512 MB / 1.298 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/1.073, allocations: 42.64 kB / 1.299 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/1.106, allocations: 32.21 MB / 1.33 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.107, allocations: 11.94 kB / 1.33 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.119, allocations: 8.24 MB / 1.338 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009332/1.12, allocations: 0.6195 MB / 1.339 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/1.121, allocations: 39.98 kB / 1.339 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.122, allocations: 136.9 kB / 1.339 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006571/1.122, allocations: 172.9 kB / 1.339 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.123, allocations: 49.88 kB / 1.339 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008794/1.123, allocations: 0.9626 MB / 1.34 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.123, allocations: 0 / 1.34 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002482/1.126, allocations: 1.117 MB / 1.341 GB, free: 109.2 MB / 0.9981 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.01264/1.139, allocations: 8.837 MB / 1.35 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.149, allocations: 7.057 MB / 1.357 GB, free: 93.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.149, allocations: 4.875 kB / 1.357 GB, free: 93.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006965/1.156, allocations: 4.371 MB / 1.361 GB, free: 88.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.158, allocations: 0.5171 MB / 1.361 GB, free: 88.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04616/1.204, allocations: 36.73 MB / 1.397 GB, free: 49.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/1.206, allocations: 2.723 MB / 1.4 GB, free: 47.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008845/1.207, allocations: 390.5 kB / 1.4 GB, free: 46.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009014/1.208, allocations: 1.21 MB / 1.401 GB, free: 45.48 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.208, allocations: 0 / 1.401 GB, free: 45.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4701/1.678, allocations: 83.32 MB / 1.483 GB, free: 10.72 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/1.678, allocations: 256.1 kB / 1.483 GB, free: 10.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.777, allocations: 0 / 1.483 GB, free: 10.47 MB / 1.045 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches