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.008037/0.008037, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001903/0.001903, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.006/2.006, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.701, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03033/0.7314, allocations: 30.76 MB / 1.118 GB, free: 356 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.751, allocations: 13.59 MB / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.754, allocations: 143 kB / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007092/0.7612, allocations: 3.189 MB / 1.134 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006376/0.7676, allocations: 2.668 MB / 1.137 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004853/0.7724, allocations: 2.009 MB / 1.139 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008713/0.7811, allocations: 7.626 MB / 1.146 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008053/0.7892, allocations: 8.229 MB / 1.154 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.7943, allocations: 3.417 MB / 1.157 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.7989, allocations: 3.384 MB / 1.161 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009056/0.7998, allocations: 0.5961 MB / 1.161 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.8031, allocations: 1.497 MB / 1.163 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002516/0.8056, allocations: 2.364 MB / 1.165 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0032/0.8088, allocations: 2.889 MB / 1.168 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.8195, allocations: 9.465 MB / 1.177 GB, free: 14.13 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8195, allocations: 0 / 1.177 GB, free: 14.13 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8195, allocations: 1.469 kB / 1.177 GB, free: 14.13 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003313/0.8199, allocations: 4 kB / 1.177 GB, free: 14.13 MB / 0.92 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.02169/0.8416, allocations: 5.131 MB / 1.182 GB, free: 10.67 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.8417, allocations: 8.75 kB / 1.182 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001941/0.8436, allocations: 0.6221 MB / 1.183 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.8498, allocations: 0.9925 MB / 1.184 GB, free: 9.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006633/0.8565, allocations: 3.075 MB / 1.187 GB, free: 7.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.8567, allocations: 314.6 kB / 1.187 GB, free: 7.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007929/0.8575, allocations: 426.2 kB / 1.187 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.8678, allocations: 6.792 MB / 1.194 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-05/0.8679, allocations: 23.78 kB / 1.194 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004344/0.8683, allocations: 184 kB / 1.194 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000847/0.8692, allocations: 372 kB / 1.195 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008345/0.8775, allocations: 5.114 MB / 1.2 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03358/0.9112, allocations: 30.51 MB / 1.229 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.9129, allocations: 1.391 MB / 1.231 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.9144, allocations: 1.332 MB / 1.232 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.9145, allocations: 13.31 kB / 1.232 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.9145, allocations: 55.86 kB / 1.232 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 2.976e-06/0.9145, allocations: 0 / 1.232 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.08532/0.9999, allocations: 23.08 MB / 1.255 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.9999, allocations: 77.34 kB / 1.255 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.003, allocations: 2.055 MB / 1.257 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.003, allocations: 61.69 kB / 1.257 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.004, allocations: 2.01 MB / 1.259 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/1.005, allocations: 0.6815 MB / 1.259 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007077/1.005, allocations: 412.2 kB / 1.26 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/1.006, allocations: 305.1 kB / 1.26 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/1.007, allocations: 1.433 MB / 1.262 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/1.01, allocations: 2.013 MB / 1.264 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/1.014, allocations: 3.684 MB / 1.267 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.014, allocations: 8 kB / 1.267 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01023/1.025, allocations: 5.661 MB / 1.273 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.025, allocations: 12 kB / 1.273 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.025, allocations: 24.16 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/1.031, allocations: 2.083 MB / 1.275 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.032, allocations: 371.4 kB / 1.275 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03516/1.068, allocations: 38.43 MB / 1.313 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/1.07, allocations: 135.8 kB / 1.313 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/1.071, allocations: 84 kB / 1.313 GB, free: 0.6328 MB / 1.045 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.002614/1.073, allocations: 1.512 MB / 1.314 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/1.074, allocations: 276.7 kB / 1.315 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009854/1.084, allocations: 5.219 MB / 1.32 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/1.084, allocations: 20 kB / 1.32 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/1.084, allocations: 16 kB / 1.32 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.084, allocations: 8.25 kB / 1.32 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.101, allocations: 9.676 MB / 1.329 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.101, allocations: 4 kB / 1.329 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/1.102, allocations: 219.6 kB / 1.329 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00557/1.107, allocations: 1.85 MB / 1.331 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/1.107, allocations: 40 kB / 1.331 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03499/1.142, allocations: 37.44 MB / 1.368 GB, free: 5.48 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.143, allocations: 11.94 kB / 1.368 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/1.151, allocations: 4.909 MB / 1.373 GB, free: 412 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/1.154, allocations: 0.6149 MB / 1.373 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.154, allocations: 47.83 kB / 1.373 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.156, allocations: 131.8 kB / 1.373 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005945/1.157, allocations: 189.5 kB / 1.374 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.157, allocations: 60 kB / 1.374 GB, free: 15.34 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002252/1.159, allocations: 1.374 MB / 1.375 GB, free: 13.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.11e-07/1.159, allocations: 0 / 1.375 GB, free: 13.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004384/1.164, allocations: 1.051 MB / 1.376 GB, free: 12.91 MB / 1.123 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.01065/1.174, allocations: 5.524 MB / 1.381 GB, free: 7.215 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.185, allocations: 6.291 MB / 1.387 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.185, allocations: 4 kB / 1.388 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/1.191, allocations: 4.406 MB / 1.392 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/1.196, allocations: 0.989 MB / 1.393 GB, free: 11.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05699/1.253, allocations: 30.66 MB / 1.423 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003899/1.257, allocations: 3.121 MB / 1.426 GB, free: 8.234 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001595/1.258, allocations: 0.5159 MB / 1.426 GB, free: 7.715 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.26, allocations: 1.675 MB / 1.428 GB, free: 6.039 MB / 1.17 GB Notification: Performance of SimCode: time 7.32e-07/1.26, allocations: 0 / 1.428 GB, free: 6.039 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6446/1.905, allocations: 88.1 MB / 1.514 GB, free: 15.05 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/19.35, allocations: 11.81 kB / 1.514 GB, free: 15.04 MB / 1.264 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