Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.007092/0.007092, allocations: 102 kB / 15.73 MB, free: 6.055 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.001667/0.001667, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.048/2.048, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7317, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03751/0.7692, allocations: 34.84 MB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7878, allocations: 11.49 MB / 1.133 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.7915, allocations: 159.2 kB / 1.133 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.8017, allocations: 4.259 MB / 1.137 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.8079, allocations: 1.993 MB / 1.139 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.8142, allocations: 2.396 MB / 1.141 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009938/0.8241, allocations: 8.475 MB / 1.15 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.8365, allocations: 11.12 MB / 1.16 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.8425, allocations: 3.738 MB / 1.164 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006055/0.8485, allocations: 4.191 MB / 1.168 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.8497, allocations: 0.7799 MB / 1.169 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.8536, allocations: 2.026 MB / 1.171 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.8565, allocations: 3.055 MB / 1.174 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.8602, allocations: 3.398 MB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.8711, allocations: 11.99 MB / 1.189 GB, free: 6.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8711, allocations: 0 / 1.189 GB, free: 6.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8711, allocations: 3.938 kB / 1.189 GB, free: 6.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001918/0.8713, allocations: 0 / 1.189 GB, free: 6.129 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009896/0.8812, allocations: 5.803 MB / 1.195 GB, free: 260 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.8813, allocations: 12.03 kB / 1.195 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009437/0.8822, allocations: 0.809 MB / 1.195 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.8874, allocations: 1.06 MB / 1.196 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.8934, allocations: 3.45 MB / 1.2 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.8937, allocations: 415.5 kB / 1.2 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.8944, allocations: 0.5393 MB / 1.201 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.9063, allocations: 9.079 MB / 1.21 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.9064, allocations: 31.62 kB / 1.21 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004883/0.9069, allocations: 236 kB / 1.21 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/0.9072, allocations: 350.8 kB / 1.21 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009088/0.9163, allocations: 6.826 MB / 1.217 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03213/0.9484, allocations: 39.78 MB / 1.256 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.9516, allocations: 3.109 MB / 1.259 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.9538, allocations: 1.989 MB / 1.261 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.478e-05/0.9539, allocations: 22 kB / 1.261 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.954, allocations: 48.56 kB / 1.261 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.276e-06/0.954, allocations: 0 / 1.261 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02078/0.9747, allocations: 9.981 MB / 1.271 GB, free: 14.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.9748, allocations: 77.41 kB / 1.271 GB, free: 14.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.9763, allocations: 1.522 MB / 1.272 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9764, allocations: 53.7 kB / 1.272 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.9775, allocations: 2.257 MB / 1.274 GB, free: 10.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.9779, allocations: 0.6316 MB / 1.275 GB, free: 9.531 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/0.9784, allocations: 411.9 kB / 1.275 GB, free: 9.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.9785, allocations: 305.1 kB / 1.276 GB, free: 8.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.9799, allocations: 1.172 MB / 1.277 GB, free: 7.645 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.9817, allocations: 1.885 MB / 1.279 GB, free: 5.434 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.9851, allocations: 3.379 MB / 1.282 GB, free: 1.742 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.9852, allocations: 8 kB / 1.282 GB, free: 1.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006393/0.9916, allocations: 4.58 MB / 1.286 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.9916, allocations: 16 kB / 1.286 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.9916, allocations: 20.88 kB / 1.286 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/0.9949, allocations: 1.585 MB / 1.288 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.996, allocations: 355.4 kB / 1.288 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/1.016, allocations: 18.57 MB / 1.306 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.017, allocations: 119.9 kB / 1.307 GB, free: 7.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.017, allocations: 96 kB / 1.307 GB, free: 7.797 MB / 1.045 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002615/1.02, allocations: 1.891 MB / 1.309 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.02, allocations: 221.4 kB / 1.309 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.026, allocations: 4.102 MB / 1.313 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.026, allocations: 16 kB / 1.313 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.026, allocations: 20.38 kB / 1.313 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.026, allocations: 19.89 kB / 1.313 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/1.04, allocations: 9.454 MB / 1.322 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.04, allocations: 8 kB / 1.322 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/1.041, allocations: 187.7 kB / 1.322 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/1.044, allocations: 1.349 MB / 1.324 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.044, allocations: 36 kB / 1.324 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.062, allocations: 17.36 MB / 1.341 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.062, allocations: 4 kB / 1.341 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.068, allocations: 4.066 MB / 1.344 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/1.069, allocations: 0.5334 MB / 1.345 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.069, allocations: 39.98 kB / 1.345 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/1.07, allocations: 83.91 kB / 1.345 GB, free: 15.44 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.07, allocations: 161.7 kB / 1.345 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/1.07, allocations: 51.98 kB / 1.345 GB, free: 15.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001096/1.071, allocations: 1.001 MB / 1.346 GB, free: 14.21 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 0 / 1.346 GB, free: 14.21 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002538/1.074, allocations: 0.9883 MB / 1.347 GB, free: 13.22 MB / 1.092 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005786/1.08, allocations: 4.669 MB / 1.352 GB, free: 8.453 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005718/1.085, allocations: 4.3 MB / 1.356 GB, free: 4.109 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.085, allocations: 0 / 1.356 GB, free: 4.109 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003812/1.089, allocations: 2.666 MB / 1.359 GB, free: 1.395 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.092, allocations: 0.7839 MB / 1.359 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/1.13, allocations: 26.83 MB / 1.386 GB, free: 4.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.133, allocations: 3.569 MB / 1.389 GB, free: 1.129 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001132/1.134, allocations: 471.9 kB / 1.39 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.136, allocations: 1.788 MB / 1.391 GB, free: 14.87 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/1.136, allocations: 0 / 1.391 GB, free: 14.87 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/2.419, allocations: 73.91 MB / 1.463 GB, free: 5.66 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/20.38, allocations: 0 / 1.463 GB, free: 5.66 MB / 1.201 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches