Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.006461/0.006461, allocations: 102 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.001547/0.001547, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 74.34 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3015, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01258/0.3141, allocations: 10.02 MB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005612/0.3198, allocations: 3.049 MB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.3207, allocations: 35.81 kB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.3228, allocations: 0.686 MB / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.3247, allocations: 0.6922 MB / 1.102 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3264, allocations: 0.6377 MB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003536/0.33, allocations: 2.734 MB / 1.105 GB, free: 128 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.3339, allocations: 2.522 MB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.336, allocations: 1.141 MB / 1.108 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.3384, allocations: 1.379 MB / 1.11 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005974/0.339, allocations: 231.9 kB / 1.11 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.3404, allocations: 487.4 kB / 1.111 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.3419, allocations: 0.9824 MB / 1.111 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.3438, allocations: 1.011 MB / 1.112 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.3477, allocations: 3.405 MB / 1.116 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3477, allocations: 0 / 1.116 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3477, allocations: 4 kB / 1.116 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001143/0.3479, allocations: 0 / 1.116 GB, free: 4.914 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004985/0.3529, allocations: 1.944 MB / 1.118 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3529, allocations: 12.03 kB / 1.118 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005875/0.3535, allocations: 244.7 kB / 1.118 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/0.3595, allocations: 0.8921 MB / 1.119 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.3622, allocations: 1.161 MB / 1.12 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.3623, allocations: 115.3 kB / 1.12 GB, free: 452 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/0.3628, allocations: 144.3 kB / 1.12 GB, free: 308 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.3683, allocations: 3.021 MB / 1.123 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.3684, allocations: 0 / 1.123 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.3686, allocations: 71.95 kB / 1.123 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/0.3688, allocations: 171 kB / 1.123 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.3736, allocations: 2.612 MB / 1.126 GB, free: 10.32 MB / 0.8887 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.0188/0.3924, allocations: 13.48 MB / 1.139 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.3947, allocations: 1.299 MB / 1.14 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.3962, allocations: 1.043 MB / 1.141 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.3963, allocations: 12.66 kB / 1.141 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3964, allocations: 43.22 kB / 1.141 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 3.626e-06/0.3964, allocations: 3.938 kB / 1.141 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.07485/0.4712, allocations: 19.4 MB / 1.16 GB, free: 5.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.4713, allocations: 64.72 kB / 1.16 GB, free: 5.699 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4726, allocations: 0.9222 MB / 1.161 GB, free: 4.766 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.4728, allocations: 49.7 kB / 1.161 GB, free: 4.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.4733, allocations: 0.7322 MB / 1.162 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.4738, allocations: 480.9 kB / 1.163 GB, free: 3.488 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006079/0.4744, allocations: 295.4 kB / 1.163 GB, free: 3.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4745, allocations: 353.9 kB / 1.163 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4765, allocations: 1.335 MB / 1.164 GB, free: 1.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.4787, allocations: 1.655 MB / 1.166 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/0.4829, allocations: 3.088 MB / 1.169 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.4829, allocations: 8 kB / 1.169 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01177/0.4947, allocations: 5.636 MB / 1.175 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.4947, allocations: 15.94 kB / 1.175 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.4948, allocations: 8 kB / 1.175 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009371/0.5042, allocations: 2.716 MB / 1.177 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/0.5051, allocations: 191.7 kB / 1.177 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0385/0.5437, allocations: 25.72 MB / 1.203 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5453, allocations: 103.9 kB / 1.203 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.5456, allocations: 52 kB / 1.203 GB, free: 9.488 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001329/0.5469, allocations: 0.7277 MB / 1.203 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.5473, allocations: 114.6 kB / 1.204 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.5585, allocations: 5.396 MB / 1.209 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5586, allocations: 12 kB / 1.209 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.092e-05/0.5586, allocations: 20 kB / 1.209 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.5586, allocations: 7.969 kB / 1.209 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.5751, allocations: 8.689 MB / 1.217 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.5751, allocations: 4.469 kB / 1.217 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.5756, allocations: 127.8 kB / 1.217 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008411/0.584, allocations: 2.59 MB / 1.22 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.5842, allocations: 24 kB / 1.22 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03558/0.6198, allocations: 24.16 MB / 1.244 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6198, allocations: 4 kB / 1.244 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.6315, allocations: 5.249 MB / 1.249 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.6328, allocations: 487.6 kB / 1.249 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.6332, allocations: 27.94 kB / 1.249 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6343, allocations: 79.89 kB / 1.249 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/0.6349, allocations: 125 kB / 1.249 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.6351, allocations: 39.98 kB / 1.249 GB, free: 8.777 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001017/0.6361, allocations: 0.6395 MB / 1.25 GB, free: 8.141 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6361, allocations: 4 kB / 1.25 GB, free: 8.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002826/0.6389, allocations: 0.7226 MB / 1.251 GB, free: 7.414 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/0.6504, allocations: 5.838 MB / 1.257 GB, free: 1.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.5946/1.245, allocations: 4.203 MB / 1.261 GB, free: 161.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.245, allocations: 5.016 kB / 1.261 GB, free: 161.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00597/1.251, allocations: 2.699 MB / 1.263 GB, free: 161.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.253, allocations: 218.3 kB / 1.263 GB, free: 161.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/1.295, allocations: 21.4 MB / 1.284 GB, free: 153.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.297, allocations: 1.705 MB / 1.286 GB, free: 152.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009369/1.298, allocations: 331.2 kB / 1.286 GB, free: 152.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/1.299, allocations: 0.5297 MB / 1.287 GB, free: 152.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.024e-06/1.299, allocations: 0.6562 kB / 1.287 GB, free: 152.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08609/1.385, allocations: 53.76 MB / 1.339 GB, free: 113.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.98, allocations: 11.89 kB / 1.339 GB, free: 113.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches