Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5848, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03432/0.6192, allocations: 32.6 MB / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.6348, allocations: 10.27 MB / 1.059 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.6377, allocations: 147.2 kB / 1.059 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008775/0.6465, allocations: 3.722 MB / 1.063 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.6516, allocations: 1.85 MB / 1.065 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.657, allocations: 2.122 MB / 1.067 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007586/0.6646, allocations: 7.337 MB / 1.074 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.6767, allocations: 9.488 MB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006231/0.6829, allocations: 3.166 MB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.6883, allocations: 3.481 MB / 1.09 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/0.6903, allocations: 0.6484 MB / 1.09 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.6947, allocations: 1.767 MB / 1.092 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.6983, allocations: 2.546 MB / 1.095 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005426/0.7037, allocations: 2.898 MB / 1.098 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.7148, allocations: 10.05 MB / 1.107 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.7149, allocations: 7.938 kB / 1.107 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7149, allocations: 0 / 1.107 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002914/0.7152, allocations: 4 kB / 1.107 GB, free: 6.027 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01138/0.7266, allocations: 4.994 MB / 1.112 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7266, allocations: 8.031 kB / 1.112 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009839/0.7276, allocations: 0.6781 MB / 1.113 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.7326, allocations: 0.9592 MB / 1.114 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.7372, allocations: 2.855 MB / 1.117 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.7375, allocations: 345.7 kB / 1.117 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000764/0.7383, allocations: 468.2 kB / 1.117 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.7504, allocations: 7.659 MB / 1.125 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.7506, allocations: 31.7 kB / 1.125 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.7511, allocations: 204 kB / 1.125 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003466/0.7514, allocations: 313 kB / 1.125 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009536/0.7609, allocations: 5.714 MB / 1.131 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.7997, allocations: 35.08 MB / 1.165 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.8027, allocations: 2.164 MB / 1.167 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.8044, allocations: 1.264 MB / 1.169 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.8045, allocations: 21.3 kB / 1.169 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.8046, allocations: 43.88 kB / 1.169 GB, free: 3.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.005e-06/0.8046, allocations: 0 / 1.169 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01417/0.8187, allocations: 7.084 MB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.8188, allocations: 68.72 kB / 1.176 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.821, allocations: 1.484 MB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.8211, allocations: 49.7 kB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.8224, allocations: 2.008 MB / 1.179 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.8228, allocations: 485.1 kB / 1.18 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.8234, allocations: 351.1 kB / 1.18 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.8235, allocations: 305.1 kB / 1.18 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.8248, allocations: 0.9135 MB / 1.181 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.8266, allocations: 1.593 MB / 1.183 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.8298, allocations: 2.737 MB / 1.185 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.8298, allocations: 8 kB / 1.185 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005852/0.8357, allocations: 3.522 MB / 1.189 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8357, allocations: 12 kB / 1.189 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.8358, allocations: 32.77 kB / 1.189 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.8382, allocations: 0.9038 MB / 1.19 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.8393, allocations: 355.3 kB / 1.19 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.8583, allocations: 23.12 MB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.8597, allocations: 95.97 kB / 1.213 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.8599, allocations: 91.98 kB / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002248/0.8621, allocations: 1.611 MB / 1.214 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.8625, allocations: 205.5 kB / 1.215 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/0.8673, allocations: 2.998 MB / 1.217 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8674, allocations: 15.94 kB / 1.217 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.8674, allocations: 16 kB / 1.217 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.8674, allocations: 7.969 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.8779, allocations: 7.336 MB / 1.225 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.8779, allocations: 4 kB / 1.225 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.8787, allocations: 179.7 kB / 1.225 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/0.8809, allocations: 0.8301 MB / 1.226 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.881, allocations: 28 kB / 1.226 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4938/1.375, allocations: 21.95 MB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.375, allocations: 8.5 kB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/1.381, allocations: 3.019 MB / 1.25 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.382, allocations: 460.3 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/1.383, allocations: 34.64 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.384, allocations: 70.84 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/1.384, allocations: 126.1 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.385, allocations: 39.98 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001934/1.386, allocations: 0.9737 MB / 1.252 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.386, allocations: 0 / 1.252 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003276/1.39, allocations: 0.7908 MB / 1.252 GB, free: 205.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00583/1.396, allocations: 3.614 MB / 1.256 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007527/1.403, allocations: 4.647 MB / 1.261 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.403, allocations: 0 / 1.261 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/1.406, allocations: 2.732 MB / 1.263 GB, free: 200 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.41, allocations: 0.7365 MB / 1.264 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/1.445, allocations: 23.85 MB / 1.287 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/1.449, allocations: 3.111 MB / 1.29 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001447/1.45, allocations: 450.3 kB / 1.291 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.452, allocations: 1.532 MB / 1.292 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.452, allocations: 3.906 kB / 1.292 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/1.839, allocations: 60.27 MB / 1.351 GB, free: 128 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/13.34, allocations: 13.42 kB / 1.351 GB, free: 128 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches