Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_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.004882/0.004883, allocations: 98.69 kB / 15.73 MB, free: 6.031 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.001449/0.001449, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437.1 MB / 0.7106 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2566, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03476/0.2914, allocations: 30.77 MB / 1.196 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02005/0.3115, allocations: 13.59 MB / 1.21 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.3139, allocations: 143.2 kB / 1.21 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007384/0.3213, allocations: 3.189 MB / 1.213 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.3278, allocations: 2.656 MB / 1.215 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.3325, allocations: 2.027 MB / 1.217 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009207/0.3418, allocations: 7.617 MB / 1.225 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009645/0.3514, allocations: 8.236 MB / 1.233 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.3559, allocations: 3.416 MB / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.3597, allocations: 3.383 MB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007565/0.3605, allocations: 0.5977 MB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.3629, allocations: 1.49 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.365, allocations: 2.358 MB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/0.3678, allocations: 2.898 MB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4878/0.8556, allocations: 9.468 MB / 1.256 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8557, allocations: 0.9062 kB / 1.256 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8557, allocations: 0 / 1.256 GB, free: 29.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002252/0.8559, allocations: 0 / 1.256 GB, free: 29.77 MB / 0.9981 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.01141/0.8673, allocations: 5.276 MB / 1.261 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8674, allocations: 9.688 kB / 1.261 GB, free: 27.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009487/0.8683, allocations: 0.6165 MB / 1.262 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.8739, allocations: 1.017 MB / 1.263 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005764/0.8797, allocations: 3.104 MB / 1.266 GB, free: 26.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.88, allocations: 313.9 kB / 1.266 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008698/0.8809, allocations: 423.6 kB / 1.266 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.8912, allocations: 6.793 MB / 1.273 GB, free: 25.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.8914, allocations: 21.67 kB / 1.273 GB, free: 25.69 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004695/0.8918, allocations: 184.9 kB / 1.273 GB, free: 25.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007984/0.8926, allocations: 371.4 kB / 1.274 GB, free: 25.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.9007, allocations: 5.115 MB / 1.279 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.9241, allocations: 30.56 MB / 1.308 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.9258, allocations: 1.391 MB / 1.31 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.9272, allocations: 1.326 MB / 1.311 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.9273, allocations: 21.81 kB / 1.311 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.9273, allocations: 50.62 kB / 1.311 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.487e-06/0.9273, allocations: 0 / 1.311 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.07929/1.007, allocations: 23.15 MB / 1.334 GB, free: 10.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.007, allocations: 71.22 kB / 1.334 GB, free: 10.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/1.009, allocations: 2.063 MB / 1.336 GB, free: 8.965 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.009, allocations: 62.95 kB / 1.336 GB, free: 8.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/1.011, allocations: 2.062 MB / 1.338 GB, free: 7.094 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000556/1.011, allocations: 0.7182 MB / 1.339 GB, free: 6.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/1.012, allocations: 413.7 kB / 1.339 GB, free: 6.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.012, allocations: 305.1 kB / 1.339 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.014, allocations: 1.434 MB / 1.341 GB, free: 5.176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.016, allocations: 2.014 MB / 1.343 GB, free: 3.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/1.02, allocations: 3.689 MB / 1.346 GB, free: 1.316 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.02, allocations: 3.812 kB / 1.346 GB, free: 1.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009643/1.03, allocations: 5.679 MB / 1.352 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.03, allocations: 10.56 kB / 1.352 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.03, allocations: 21.72 kB / 1.352 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006003/1.036, allocations: 2.078 MB / 1.354 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.037, allocations: 383.6 kB / 1.354 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03954/1.077, allocations: 38.46 MB / 1.392 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.079, allocations: 123.9 kB / 1.392 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.079, allocations: 88 kB / 1.392 GB, free: 4.594 MB / 1.061 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.002577/1.082, allocations: 1.509 MB / 1.393 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/1.082, allocations: 298.2 kB / 1.394 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.093, allocations: 5.211 MB / 1.399 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.093, allocations: 24.22 kB / 1.399 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.093, allocations: 16 kB / 1.399 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/1.093, allocations: 22 kB / 1.399 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.109, allocations: 9.671 MB / 1.408 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.109, allocations: 8 kB / 1.408 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/1.11, allocations: 217.6 kB / 1.409 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/1.116, allocations: 1.839 MB / 1.41 GB, free: 1.711 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.116, allocations: 40 kB / 1.41 GB, free: 1.672 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03761/1.153, allocations: 37.47 MB / 1.447 GB, free: 9.859 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.153, allocations: 11.38 kB / 1.447 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009056/1.162, allocations: 4.923 MB / 1.452 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.164, allocations: 0.628 MB / 1.452 GB, free: 4.191 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/1.164, allocations: 43.95 kB / 1.452 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.165, allocations: 131.8 kB / 1.453 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/1.166, allocations: 194.1 kB / 1.453 GB, free: 3.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.166, allocations: 59.98 kB / 1.453 GB, free: 3.781 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001868/1.168, allocations: 1.374 MB / 1.454 GB, free: 2.398 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.168, allocations: 0 / 1.454 GB, free: 2.398 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003015/1.171, allocations: 1.047 MB / 1.455 GB, free: 1.352 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.009261/1.18, allocations: 5.542 MB / 1.461 GB, free: 11.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.19, allocations: 6.314 MB / 1.467 GB, free: 5.297 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.19, allocations: 0 / 1.467 GB, free: 5.297 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.006684/1.197, allocations: 4.413 MB / 1.471 GB, free: 0.707 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.201, allocations: 0.9911 MB / 1.472 GB, free: 15.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04922/1.251, allocations: 30.79 MB / 1.502 GB, free: 256 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/1.254, allocations: 3.129 MB / 1.505 GB, free: 13.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001686/1.256, allocations: 0.5198 MB / 1.506 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.258, allocations: 1.671 MB / 1.507 GB, free: 10.89 MB / 1.186 GB Notification: Performance of SimCode: time 8.12e-07/1.258, allocations: 0 / 1.507 GB, free: 10.89 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.598/3.855, allocations: 88.11 MB / 1.593 GB, free: 4.113 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/22.88, allocations: 7.875 kB / 1.593 GB, free: 4.105 MB / 1.264 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches