Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLine_R,fileNamePrefix="Buildings_9_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_9_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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001313, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7549, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03431/0.7892, allocations: 34.8 MB / 0.983 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8064, allocations: 9.92 MB / 0.9927 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/0.8109, allocations: 131.3 kB / 0.9929 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008583/0.8196, allocations: 3.549 MB / 0.9963 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006523/0.8261, allocations: 1.917 MB / 0.9982 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.8311, allocations: 1.791 MB / 0.9999 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.8431, allocations: 11.18 MB / 1.011 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/0.8603, allocations: 10.7 MB / 1.021 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.8661, allocations: 2.872 MB / 1.024 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005739/0.8718, allocations: 3.804 MB / 1.028 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001632/0.8735, allocations: 468 kB / 1.028 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.8772, allocations: 1.443 MB / 1.03 GB, free: 15.22 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003276/0.8805, allocations: 2.393 MB / 1.032 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005641/0.8862, allocations: 2.847 MB / 1.035 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.8981, allocations: 10.2 MB / 1.045 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8982, allocations: 0 / 1.045 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8982, allocations: 0 / 1.045 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004004/0.8986, allocations: 4 kB / 1.045 GB, free: 15.73 MB / 0.8106 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.01497/0.9136, allocations: 5.406 MB / 1.05 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.9136, allocations: 12.03 kB / 1.05 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001782/0.9154, allocations: 0.6984 MB / 1.051 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.9199, allocations: 0.9587 MB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.9246, allocations: 2.995 MB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.9248, allocations: 357.9 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000645/0.9255, allocations: 468.2 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.9366, allocations: 7.914 MB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/0.9367, allocations: 23.8 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.9371, allocations: 212 kB / 1.063 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004636/0.9376, allocations: 361.1 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008403/0.946, allocations: 5.941 MB / 1.069 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.9769, allocations: 36.21 MB / 1.105 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.9799, allocations: 2.134 MB / 1.107 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.9816, allocations: 1.492 MB / 1.108 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.9817, allocations: 21.3 kB / 1.108 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.9817, allocations: 59.81 kB / 1.108 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/0.9817, allocations: 0 / 1.108 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01202/0.9938, allocations: 7.525 MB / 1.116 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9938, allocations: 72.72 kB / 1.116 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.9959, allocations: 1.864 MB / 1.118 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.996, allocations: 53.7 kB / 1.118 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.9972, allocations: 2.127 MB / 1.12 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.9977, allocations: 0.5507 MB / 1.12 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.9982, allocations: 407.7 kB / 1.121 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.9983, allocations: 305.1 kB / 1.121 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.9998, allocations: 1.07 MB / 1.122 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/1.002, allocations: 1.752 MB / 1.124 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/1.005, allocations: 3.056 MB / 1.127 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.005, allocations: 4 kB / 1.127 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00576/1.011, allocations: 3.925 MB / 1.131 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.011, allocations: 16 kB / 1.131 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.011, allocations: 24 kB / 1.131 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/1.013, allocations: 0.9312 MB / 1.132 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.015, allocations: 423.3 kB / 1.132 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/1.032, allocations: 21.05 MB / 1.153 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.034, allocations: 139.8 kB / 1.153 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.035, allocations: 92 kB / 1.153 GB, free: 10.67 MB / 0.92 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.002942/1.037, allocations: 1.645 MB / 1.154 GB, free: 9.016 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/1.038, allocations: 253.1 kB / 1.155 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/1.043, allocations: 3.267 MB / 1.158 GB, free: 5.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.043, allocations: 16 kB / 1.158 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.043, allocations: 12 kB / 1.158 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.043, allocations: 11.91 kB / 1.158 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.053, allocations: 7.541 MB / 1.165 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.053, allocations: 4 kB / 1.165 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/1.054, allocations: 219.6 kB / 1.165 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/1.056, allocations: 0.8887 MB / 1.166 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.057, allocations: 32 kB / 1.166 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/1.074, allocations: 21.03 MB / 1.187 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.074, allocations: 4 kB / 1.187 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/1.08, allocations: 3.383 MB / 1.19 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/1.081, allocations: 0.5292 MB / 1.191 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.081, allocations: 35.98 kB / 1.191 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/1.082, allocations: 91.89 kB / 1.191 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/1.083, allocations: 141 kB / 1.191 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.083, allocations: 47.94 kB / 1.191 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001753/1.084, allocations: 1.217 MB / 1.192 GB, free: 320 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.084, allocations: 0 / 1.192 GB, free: 320 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002913/1.087, allocations: 0.9141 MB / 1.193 GB, free: 15.39 MB / 0.9669 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.005084/1.092, allocations: 3.992 MB / 1.197 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005956/1.098, allocations: 4.408 MB / 1.201 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.098, allocations: 4 kB / 1.201 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/1.102, allocations: 3 MB / 1.204 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.106, allocations: 0.7533 MB / 1.205 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/1.148, allocations: 29.51 MB / 1.234 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/1.151, allocations: 3.205 MB / 1.237 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00183/1.153, allocations: 0.5293 MB / 1.237 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.155, allocations: 1.655 MB / 1.239 GB, free: 13.55 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.155, allocations: 0 / 1.239 GB, free: 13.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.663/4.818, allocations: 69.22 MB / 1.307 GB, free: 247.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/4.818, allocations: 248.3 kB / 1.307 GB, free: 247.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/8.425, allocations: 3.938 kB / 1.307 GB, free: 247.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches