Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.00642/0.006419, allocations: 103.5 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.001143/0.001143, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.475/2.475, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.73 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3564, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01753/0.374, allocations: 14.04 MB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.3888, allocations: 9.388 MB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.3913, allocations: 55.62 kB / 1.11 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.3962, allocations: 1.673 MB / 1.112 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.4012, allocations: 1.54 MB / 1.114 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4036, allocations: 0.7707 MB / 1.114 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.4077, allocations: 2.516 MB / 1.117 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.4099, allocations: 1.403 MB / 1.118 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.4117, allocations: 1.043 MB / 1.119 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.4137, allocations: 1.144 MB / 1.12 GB, free: 284 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.4142, allocations: 164 kB / 1.12 GB, free: 120 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.416, allocations: 0.7877 MB / 1.121 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000739/0.4167, allocations: 0.6271 MB / 1.122 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.4183, allocations: 0.9368 MB / 1.123 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.4231, allocations: 2.762 MB / 1.125 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.4231, allocations: 3.984 kB / 1.125 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4231, allocations: 0 / 1.125 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001072/0.4232, allocations: 0 / 1.125 GB, free: 10.98 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006106/0.4293, allocations: 2.139 MB / 1.128 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4294, allocations: 8.031 kB / 1.128 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004638/0.4299, allocations: 194.4 kB / 1.128 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.442, allocations: 2.081 MB / 1.13 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.4457, allocations: 1.298 MB / 1.131 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/0.4458, allocations: 90.67 kB / 1.131 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.4463, allocations: 127.8 kB / 1.131 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/0.4533, allocations: 2.675 MB / 1.134 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.4534, allocations: 4 kB / 1.134 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.4538, allocations: 51.98 kB / 1.134 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007221/0.4545, allocations: 190.1 kB / 1.134 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008631/0.4631, allocations: 2.795 MB / 1.137 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.4821, allocations: 10.46 MB / 1.147 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.4893, allocations: 2.525 MB / 1.149 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.4927, allocations: 1.288 MB / 1.151 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.4928, allocations: 9 kB / 1.151 GB, free: 116 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.4929, allocations: 43.56 kB / 1.151 GB, free: 64 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.4929, allocations: 0 / 1.151 GB, free: 64 kB / 0.9044 GB Notification: Performance of matching and sorting (n=131): time 0.04924/0.5422, allocations: 13.37 MB / 1.164 GB, free: 2.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.5422, allocations: 68.72 kB / 1.164 GB, free: 2.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.5442, allocations: 1.121 MB / 1.165 GB, free: 1.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.5444, allocations: 45.7 kB / 1.165 GB, free: 1.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.545, allocations: 0.7117 MB / 1.166 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.5456, allocations: 457.4 kB / 1.166 GB, free: 44 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.5462, allocations: 259.5 kB / 1.166 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5464, allocations: 369.8 kB / 1.167 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.5498, allocations: 1.335 MB / 1.168 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.5534, allocations: 1.604 MB / 1.17 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/0.5604, allocations: 2.991 MB / 1.173 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.5605, allocations: 4 kB / 1.173 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01179/0.5723, allocations: 4.446 MB / 1.177 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.5723, allocations: 10.03 kB / 1.177 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.5723, allocations: 8 kB / 1.177 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005315/0.5777, allocations: 1.428 MB / 1.178 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/0.5798, allocations: 439.2 kB / 1.179 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/0.6088, allocations: 26.67 MB / 1.205 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.6116, allocations: 303.5 kB / 1.205 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.612, allocations: 67.95 kB / 1.205 GB, free: 6.008 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.6131, allocations: 438.9 kB / 1.206 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/0.6136, allocations: 162 kB / 1.206 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6256, allocations: 4.453 MB / 1.21 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.6257, allocations: 19.94 kB / 1.21 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/0.6257, allocations: 12 kB / 1.21 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.6258, allocations: 11.95 kB / 1.21 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.6435, allocations: 6.756 MB / 1.217 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.6436, allocations: 4 kB / 1.217 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.6456, allocations: 375.4 kB / 1.217 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/0.6507, allocations: 1.315 MB / 1.218 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.651, allocations: 35.97 kB / 1.218 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/0.6774, allocations: 25.51 MB / 1.243 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6774, allocations: 4 kB / 1.243 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.689, allocations: 4.206 MB / 1.247 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6904, allocations: 462.9 kB / 1.248 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/0.6909, allocations: 27.98 kB / 1.248 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/0.6935, allocations: 299.5 kB / 1.248 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/0.6941, allocations: 132.7 kB / 1.248 GB, free: 7.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.6944, allocations: 51.97 kB / 1.248 GB, free: 7.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001758/0.6961, allocations: 0.7487 MB / 1.249 GB, free: 6.805 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.71e-07/0.6962, allocations: 480 / 1.249 GB, free: 6.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003236/0.6994, allocations: 0.5703 MB / 1.25 GB, free: 6.234 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/0.7117, allocations: 4.793 MB / 1.254 GB, free: 1.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.6433/1.355, allocations: 5.129 MB / 1.259 GB, free: 156.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.355, allocations: 1.5 kB / 1.259 GB, free: 156.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007449/1.363, allocations: 3.479 MB / 1.263 GB, free: 155.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.366, allocations: 0.5497 MB / 1.263 GB, free: 155.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.414, allocations: 19.36 MB / 1.282 GB, free: 149.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.415, allocations: 1.478 MB / 1.284 GB, free: 148.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001937/1.417, allocations: 426.5 kB / 1.284 GB, free: 148.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008198/1.418, allocations: 0.6307 MB / 1.285 GB, free: 148 MB / 1.014 GB Notification: Performance of SimCode: time 1.553e-06/1.418, allocations: 0 / 1.285 GB, free: 148 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.53, allocations: 51.69 MB / 1.335 GB, free: 112.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.7, allocations: 18.56 kB / 1.335 GB, free: 112.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches