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.00545/0.00545, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001133/0.001133, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.582/2.582, allocations: 437.1 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2925, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03617/0.3287, allocations: 30.77 MB / 1.196 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.3505, allocations: 13.58 MB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.3541, allocations: 143.2 kB / 1.21 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008494/0.3626, allocations: 3.209 MB / 1.213 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008247/0.3709, allocations: 2.762 MB / 1.215 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.3766, allocations: 2.011 MB / 1.217 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.3867, allocations: 7.636 MB / 1.225 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.399, allocations: 8.233 MB / 1.233 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005936/0.4049, allocations: 3.467 MB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005595/0.4106, allocations: 3.383 MB / 1.24 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.4123, allocations: 0.5977 MB / 1.24 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.4167, allocations: 1.498 MB / 1.242 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.4205, allocations: 2.362 MB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005831/0.4263, allocations: 2.882 MB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6523/1.079, allocations: 9.451 MB / 1.256 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.079, allocations: 0 / 1.256 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.079, allocations: 0 / 1.256 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003278/1.079, allocations: 0.5 kB / 1.256 GB, free: 29.89 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.01598/1.095, allocations: 5.138 MB / 1.261 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.095, allocations: 9.344 kB / 1.261 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/1.097, allocations: 0.619 MB / 1.262 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/1.103, allocations: 1 MB / 1.263 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.114, allocations: 3.071 MB / 1.266 GB, free: 27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007803/1.115, allocations: 313 kB / 1.266 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/1.118, allocations: 432.9 kB / 1.266 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/1.139, allocations: 6.788 MB / 1.273 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/1.139, allocations: 21.2 kB / 1.273 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/1.14, allocations: 183 kB / 1.273 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009559/1.141, allocations: 370.4 kB / 1.274 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.153, allocations: 5.116 MB / 1.278 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/1.19, allocations: 30.51 MB / 1.308 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/1.192, allocations: 1.392 MB / 1.31 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.194, allocations: 1.332 MB / 1.311 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.194, allocations: 14.72 kB / 1.311 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.194, allocations: 50.84 kB / 1.311 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.045e-06/1.194, allocations: 0 / 1.311 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.08215/1.276, allocations: 23.09 MB / 1.334 GB, free: 10.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.276, allocations: 74.41 kB / 1.334 GB, free: 10.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/1.279, allocations: 2.063 MB / 1.336 GB, free: 9.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003503/1.28, allocations: 59.95 kB / 1.336 GB, free: 9.449 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/1.281, allocations: 2.007 MB / 1.338 GB, free: 7.684 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/1.282, allocations: 0.6784 MB / 1.338 GB, free: 7.102 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007312/1.282, allocations: 413.2 kB / 1.339 GB, free: 6.871 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.282, allocations: 305.1 kB / 1.339 GB, free: 6.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/1.284, allocations: 1.434 MB / 1.34 GB, free: 5.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.287, allocations: 2.008 MB / 1.342 GB, free: 4.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/1.291, allocations: 3.703 MB / 1.346 GB, free: 1.934 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.291, allocations: 3.875 kB / 1.346 GB, free: 1.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01023/1.301, allocations: 5.652 MB / 1.352 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.301, allocations: 13.62 kB / 1.352 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.302, allocations: 19 kB / 1.352 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006382/1.308, allocations: 2.089 MB / 1.354 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.309, allocations: 377.4 kB / 1.354 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/1.347, allocations: 38.42 MB / 1.391 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.35, allocations: 135.9 kB / 1.392 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/1.35, allocations: 88 kB / 1.392 GB, free: 5.207 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.002604/1.353, allocations: 1.504 MB / 1.393 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/1.354, allocations: 284.6 kB / 1.393 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009963/1.364, allocations: 5.223 MB / 1.399 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.364, allocations: 20 kB / 1.399 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.764e-05/1.364, allocations: 20 kB / 1.399 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/1.364, allocations: 7.969 kB / 1.399 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/1.382, allocations: 9.674 MB / 1.408 GB, free: 4.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/1.382, allocations: 8 kB / 1.408 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/1.383, allocations: 214.3 kB / 1.408 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005953/1.389, allocations: 1.844 MB / 1.41 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003029/1.389, allocations: 44 kB / 1.41 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03856/1.428, allocations: 37.45 MB / 1.447 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.428, allocations: 7.469 kB / 1.447 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009771/1.437, allocations: 4.913 MB / 1.451 GB, free: 5.504 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.439, allocations: 0.607 MB / 1.452 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000806/1.44, allocations: 47.98 kB / 1.452 GB, free: 4.828 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.442, allocations: 131.8 kB / 1.452 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006382/1.443, allocations: 192.1 kB / 1.452 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.443, allocations: 62.3 kB / 1.452 GB, free: 4.461 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002316/1.445, allocations: 1.378 MB / 1.454 GB, free: 3.074 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/1.445, allocations: 0 / 1.454 GB, free: 3.074 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004077/1.449, allocations: 1.043 MB / 1.455 GB, free: 2.031 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.009492/1.459, allocations: 5.532 MB / 1.46 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.469, allocations: 6.292 MB / 1.466 GB, free: 5.973 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.469, allocations: 192 / 1.466 GB, free: 5.973 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.006967/1.476, allocations: 4.397 MB / 1.471 GB, free: 1.387 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/1.483, allocations: 0.9937 MB / 1.472 GB, free: 452 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06808/1.551, allocations: 30.65 MB / 1.502 GB, free: 1.031 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005279/1.556, allocations: 3.129 MB / 1.505 GB, free: 13.87 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002266/1.558, allocations: 0.5198 MB / 1.505 GB, free: 13.35 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/1.561, allocations: 1.675 MB / 1.507 GB, free: 11.67 MB / 1.186 GB Notification: Performance of SimCode: time 1.212e-06/1.561, allocations: 0 / 1.507 GB, free: 11.67 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/1.814, allocations: 88.1 MB / 1.593 GB, free: 4.895 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/17.6, allocations: 14.5 kB / 1.593 GB, free: 4.883 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=50 --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