Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0008945/0.0008946, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005764/0.005765, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003527, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.653, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03518/0.6883, allocations: 33.98 MB / 1.056 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.7045, allocations: 9.82 MB / 1.066 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.7079, allocations: 127.2 kB / 1.066 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.7104, allocations: 0.7054 MB / 1.067 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.7159, allocations: 1.917 MB / 1.069 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.7202, allocations: 1.611 MB / 1.07 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.7317, allocations: 11.19 MB / 1.081 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02043/0.7521, allocations: 12.17 MB / 1.093 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.7572, allocations: 2.412 MB / 1.095 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.7625, allocations: 3.211 MB / 1.098 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.7638, allocations: 280 kB / 1.099 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.7674, allocations: 1.26 MB / 1.1 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.7705, allocations: 2.112 MB / 1.102 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00468/0.7752, allocations: 2.528 MB / 1.105 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.7843, allocations: 9.858 MB / 1.114 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7844, allocations: 0 / 1.114 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7844, allocations: 3.938 kB / 1.114 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002775/0.7846, allocations: 0 / 1.114 GB, free: 2.309 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009044/0.7937, allocations: 4.36 MB / 1.118 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.7938, allocations: 8.031 kB / 1.118 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/0.7951, allocations: 0.7061 MB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/0.7997, allocations: 0.9549 MB / 1.12 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.8044, allocations: 2.999 MB / 1.123 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.8047, allocations: 353.9 kB / 1.123 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007035/0.8054, allocations: 472.2 kB / 1.124 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.819, allocations: 7.91 MB / 1.131 GB, free: 60 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.8192, allocations: 15.88 kB / 1.131 GB, free: 44 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005456/0.8198, allocations: 212 kB / 1.132 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005505/0.8203, allocations: 373 kB / 1.132 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.8304, allocations: 5.933 MB / 1.138 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/0.8664, allocations: 36.27 MB / 1.173 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.8697, allocations: 2.135 MB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.8717, allocations: 1.482 MB / 1.177 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.8718, allocations: 17.31 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.8719, allocations: 59.81 kB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=157): time 3.607e-06/0.8719, allocations: 0 / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160): time 0.01373/0.8856, allocations: 7.571 MB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.8857, allocations: 64.72 kB / 1.184 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.8885, allocations: 1.864 MB / 1.186 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.8887, allocations: 53.7 kB / 1.186 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.89, allocations: 2.127 MB / 1.188 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.8905, allocations: 0.5546 MB / 1.189 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.8908, allocations: 178.1 kB / 1.189 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.8908, allocations: 301.1 kB / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.8924, allocations: 1.066 MB / 1.19 GB, free: 168 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.8944, allocations: 1.76 MB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.8981, allocations: 3.045 MB / 1.195 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.8981, allocations: 8 kB / 1.195 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006263/0.9044, allocations: 3.929 MB / 1.199 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.9044, allocations: 16 kB / 1.199 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.9045, allocations: 27.98 kB / 1.199 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.9068, allocations: 0.9233 MB / 1.2 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.9083, allocations: 427.3 kB / 1.2 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.9266, allocations: 21.08 MB / 1.221 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.9287, allocations: 131.8 kB / 1.221 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.929, allocations: 92 kB / 1.221 GB, free: 14.43 MB / 0.9825 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.00299/0.932, allocations: 1.649 MB / 1.223 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.9327, allocations: 257.1 kB / 1.223 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005678/0.9384, allocations: 3.256 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.9384, allocations: 16 kB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/0.9384, allocations: 11.94 kB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.9385, allocations: 19.91 kB / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.951, allocations: 7.549 MB / 1.233 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.951, allocations: 4 kB / 1.233 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.952, allocations: 219.6 kB / 1.234 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.9543, allocations: 0.9003 MB / 1.235 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.9544, allocations: 28 kB / 1.235 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4825/1.437, allocations: 21.03 MB / 1.255 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.437, allocations: 8 kB / 1.255 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/1.442, allocations: 3.38 MB / 1.258 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009999/1.443, allocations: 0.5374 MB / 1.259 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.444, allocations: 34.47 kB / 1.259 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.445, allocations: 93.11 kB / 1.259 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/1.445, allocations: 138.4 kB / 1.259 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.445, allocations: 46.34 kB / 1.259 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001791/1.447, allocations: 1.223 MB / 1.26 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.72e-07/1.447, allocations: 3.406 kB / 1.26 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002817/1.45, allocations: 0.9152 MB / 1.261 GB, free: 200.1 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006367/1.456, allocations: 3.974 MB / 1.265 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007063/1.463, allocations: 4.421 MB / 1.27 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.463, allocations: 5.188 kB / 1.27 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003774/1.467, allocations: 2.993 MB / 1.272 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/1.472, allocations: 0.7743 MB / 1.273 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/1.51, allocations: 29.52 MB / 1.302 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002721/1.513, allocations: 3.221 MB / 1.305 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001883/1.515, allocations: 0.5211 MB / 1.306 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.516, allocations: 1.652 MB / 1.307 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.516, allocations: 0 / 1.307 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0806/1.596, allocations: 68.32 MB / 1.374 GB, free: 105.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.597, allocations: 250.1 kB / 1.374 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/4.699, allocations: 0 / 1.374 GB, free: 105.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches