Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001424/0.001424, allocations: 108 kB / 15.6 MB, free: 128 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.001619/0.001619, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.276/2.276, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5818, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03221/0.614, allocations: 30.76 MB / 0.9798 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.6349, allocations: 13.59 MB / 0.993 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004374/0.6393, allocations: 143.2 kB / 0.9932 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008329/0.6477, allocations: 3.197 MB / 0.9963 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.6558, allocations: 2.659 MB / 0.9989 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005103/0.6609, allocations: 2.01 MB / 1.001 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009011/0.67, allocations: 7.612 MB / 1.008 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009343/0.6793, allocations: 8.287 MB / 1.016 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.6846, allocations: 3.393 MB / 1.02 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004979/0.6896, allocations: 3.391 MB / 1.023 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.6908, allocations: 0.5977 MB / 1.024 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.694, allocations: 1.49 MB / 1.025 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.6964, allocations: 2.366 MB / 1.027 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003686/0.7001, allocations: 2.882 MB / 1.03 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00871/0.7088, allocations: 9.395 MB / 1.039 GB, free: 5.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7089, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7089, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002019/0.7091, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009691/0.7188, allocations: 5.144 MB / 1.044 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7189, allocations: 8.031 kB / 1.044 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000832/0.7197, allocations: 0.6242 MB / 1.045 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005479/0.7252, allocations: 0.9864 MB / 1.046 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/0.7309, allocations: 2.903 MB / 1.049 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.7312, allocations: 316.8 kB / 1.049 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008379/0.732, allocations: 423.8 kB / 1.05 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.7432, allocations: 6.791 MB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.7434, allocations: 19.83 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000667/0.7441, allocations: 187.9 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009244/0.745, allocations: 376 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008872/0.7539, allocations: 5.11 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/0.7885, allocations: 30.73 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.7906, allocations: 1.397 MB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.7923, allocations: 1.332 MB / 1.094 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.854e-05/0.7924, allocations: 13.31 kB / 1.094 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.7925, allocations: 55.88 kB / 1.094 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.546e-06/0.7925, allocations: 0 / 1.094 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.09062/0.8831, allocations: 23.07 MB / 1.117 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8832, allocations: 73.41 kB / 1.117 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.8865, allocations: 2.062 MB / 1.119 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.8867, allocations: 61.7 kB / 1.119 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.888, allocations: 2.002 MB / 1.121 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.8887, allocations: 0.6816 MB / 1.122 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/0.8895, allocations: 408.1 kB / 1.122 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8896, allocations: 309.1 kB / 1.122 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.8917, allocations: 1.433 MB / 1.124 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.8941, allocations: 2.006 MB / 1.126 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.8988, allocations: 3.696 MB / 1.129 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.8988, allocations: 8 kB / 1.129 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01091/0.9097, allocations: 5.66 MB / 1.135 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.9098, allocations: 12.97 kB / 1.135 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.9098, allocations: 20 kB / 1.135 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006657/0.9164, allocations: 2.087 MB / 1.137 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.918, allocations: 383.3 kB / 1.137 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03728/0.9552, allocations: 38.45 MB / 1.175 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.9577, allocations: 127.9 kB / 1.175 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.958, allocations: 91.94 kB / 1.175 GB, free: 4.074 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00281/0.9608, allocations: 1.508 MB / 1.177 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006596/0.9614, allocations: 280.6 kB / 1.177 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.9717, allocations: 5.216 MB / 1.182 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.9717, allocations: 16 kB / 1.182 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-05/0.9718, allocations: 20 kB / 1.182 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.9718, allocations: 11.95 kB / 1.182 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.9897, allocations: 9.68 MB / 1.191 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.9897, allocations: 4.844 kB / 1.191 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.9906, allocations: 219.6 kB / 1.192 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.9963, allocations: 1.869 MB / 1.193 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.9965, allocations: 40 kB / 1.194 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03592/1.032, allocations: 37.46 MB / 1.23 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.032, allocations: 11.94 kB / 1.23 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/1.042, allocations: 4.905 MB / 1.235 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.043, allocations: 0.6186 MB / 1.236 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/1.044, allocations: 39.94 kB / 1.236 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.045, allocations: 128 kB / 1.236 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006139/1.046, allocations: 193.6 kB / 1.236 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.046, allocations: 60 kB / 1.236 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00209/1.048, allocations: 1.374 MB / 1.237 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.594e-06/1.048, allocations: 0 / 1.237 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003528/1.052, allocations: 1.055 MB / 1.238 GB, free: 316 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009123/1.061, allocations: 5.537 MB / 1.244 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.072, allocations: 7.209 MB / 1.251 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.073, allocations: 0 / 1.251 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.3837/1.456, allocations: 4.402 MB / 1.255 GB, free: 279.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/1.46, allocations: 0.9778 MB / 1.256 GB, free: 279 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05677/1.517, allocations: 34.11 MB / 1.289 GB, free: 263.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.52, allocations: 3.122 MB / 1.292 GB, free: 262.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001994/1.522, allocations: 0.5289 MB / 1.293 GB, free: 262.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.524, allocations: 1.677 MB / 1.294 GB, free: 260.9 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.524, allocations: 0 / 1.294 GB, free: 260.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/1.699, allocations: 89.23 MB / 1.382 GB, free: 180.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.69, allocations: 10.59 kB / 1.382 GB, free: 180.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches