Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.005453/0.005458, allocations: 101.2 kB / 15.73 MB, free: 6.023 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.001442/0.001442, allocations: 199.5 kB / 16.68 MB, free: 5.938 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.302/1.302, 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 12.0.0-master/package.mo): time 2.538/2.538, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.84 kB / 1.083 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6702, allocations: 162.3 MB / 1.242 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01681/0.6871, allocations: 14.8 MB / 1.256 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.7014, allocations: 10.34 MB / 1.266 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.7025, allocations: 55.62 kB / 1.266 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.7064, allocations: 1.687 MB / 1.268 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.7108, allocations: 1.819 MB / 1.27 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.7124, allocations: 0.7554 MB / 1.271 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.7157, allocations: 2.75 MB / 1.273 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.7174, allocations: 1.407 MB / 1.275 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.7194, allocations: 1.496 MB / 1.276 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.7209, allocations: 1.171 MB / 1.277 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.7211, allocations: 160 kB / 1.277 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.7225, allocations: 0.7877 MB / 1.278 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.7231, allocations: 0.6154 MB / 1.279 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009176/0.724, allocations: 0.9484 MB / 1.28 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.7269, allocations: 2.771 MB / 1.282 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.7269, allocations: 0 / 1.282 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7269, allocations: 0 / 1.282 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.7269, allocations: 0 / 1.282 GB, free: 7.426 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003529/0.7304, allocations: 2.226 MB / 1.285 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7305, allocations: 8.031 kB / 1.285 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002351/0.7307, allocations: 202.3 kB / 1.285 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.7421, allocations: 2.121 MB / 1.287 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.7445, allocations: 1.32 MB / 1.288 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.7445, allocations: 90.67 kB / 1.288 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.7448, allocations: 115.9 kB / 1.288 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/0.7504, allocations: 2.67 MB / 1.291 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.7504, allocations: 7.891 kB / 1.291 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.7506, allocations: 55.98 kB / 1.291 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006449/0.7513, allocations: 194.1 kB / 1.291 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007578/0.7589, allocations: 2.791 MB / 1.294 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.7732, allocations: 10.47 MB / 1.304 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.7801, allocations: 2.348 MB / 1.306 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.7833, allocations: 1.276 MB / 1.308 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.7834, allocations: 9 kB / 1.308 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.7834, allocations: 43.56 kB / 1.308 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.7834, allocations: 0 / 1.308 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.06037/0.8438, allocations: 16.52 MB / 1.324 GB, free: 11.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.8439, allocations: 64.72 kB / 1.324 GB, free: 11.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.8455, allocations: 1.172 MB / 1.325 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.8458, allocations: 53.7 kB / 1.325 GB, free: 10.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.8464, allocations: 0.7607 MB / 1.326 GB, free: 9.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.8469, allocations: 0.5383 MB / 1.326 GB, free: 9.277 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005813/0.8475, allocations: 291.4 kB / 1.327 GB, free: 8.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8476, allocations: 309.1 kB / 1.327 GB, free: 8.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/0.8513, allocations: 1.51 MB / 1.328 GB, free: 7.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.855, allocations: 1.78 MB / 1.33 GB, free: 5.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/0.8625, allocations: 3.369 MB / 1.333 GB, free: 1.828 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8625, allocations: 0 / 1.333 GB, free: 1.828 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01354/0.8761, allocations: 5.282 MB / 1.339 GB, free: 12.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8761, allocations: 8 kB / 1.339 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.8761, allocations: 12.09 kB / 1.339 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006665/0.8828, allocations: 1.879 MB / 1.341 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.8854, allocations: 411.2 kB / 1.341 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0321/0.9175, allocations: 24.16 MB / 1.364 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.9206, allocations: 307.6 kB / 1.365 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.9208, allocations: 67.91 kB / 1.365 GB, free: 0.543 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008989/0.9217, allocations: 469.4 kB / 1.365 GB, free: 76 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.9221, allocations: 182.9 kB / 1.365 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.9359, allocations: 5.316 MB / 1.371 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.9359, allocations: 16 kB / 1.371 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/0.9359, allocations: 20 kB / 1.371 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.936, allocations: 7.969 kB / 1.371 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.9526, allocations: 7.438 MB / 1.378 GB, free: 2.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.9527, allocations: 4 kB / 1.378 GB, free: 2.918 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.9544, allocations: 351.4 kB / 1.378 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.9604, allocations: 1.71 MB / 1.38 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.9606, allocations: 47.91 kB / 1.38 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02833/0.9889, allocations: 23.33 MB / 1.403 GB, free: 8.359 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9889, allocations: 4 kB / 1.403 GB, free: 8.355 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/1.001, allocations: 4.9 MB / 1.408 GB, free: 3.371 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000887/1.002, allocations: 499.7 kB / 1.408 GB, free: 2.863 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/1.002, allocations: 28 kB / 1.408 GB, free: 2.836 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.004, allocations: 323.5 kB / 1.408 GB, free: 2.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/1.005, allocations: 148.9 kB / 1.409 GB, free: 2.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.005, allocations: 55.97 kB / 1.409 GB, free: 2.316 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001061/1.006, allocations: 0.7899 MB / 1.409 GB, free: 1.527 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.61e-07/1.006, allocations: 4 kB / 1.409 GB, free: 1.523 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001789/1.008, allocations: 0.6562 MB / 1.41 GB, free: 0.8672 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/1.021, allocations: 5.491 MB / 1.415 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.032, allocations: 5.163 MB / 1.42 GB, free: 6.016 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.032, allocations: 0 / 1.42 GB, free: 6.016 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007067/1.039, allocations: 3.37 MB / 1.424 GB, free: 2.543 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/1.042, allocations: 0.5555 MB / 1.424 GB, free: 2.008 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04596/1.088, allocations: 21.9 MB / 1.446 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.089, allocations: 1.564 MB / 1.447 GB, free: 10 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001423/1.091, allocations: 390.4 kB / 1.448 GB, free: 9.617 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/1.092, allocations: 0.6593 MB / 1.448 GB, free: 8.961 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/1.092, allocations: 0 / 1.448 GB, free: 8.961 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7626/1.854, allocations: 58.75 MB / 1.506 GB, free: 14.89 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.19/26.05, allocations: 3.859 kB / 1.506 GB, free: 14.89 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches