Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.007877/0.007877, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001692/0.001692, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 55.91 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03714/0.3448, allocations: 35.12 MB / 1.242 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6438/0.9887, allocations: 9.932 MB / 1.251 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.9919, allocations: 146.8 kB / 1.251 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008543/1.001, allocations: 3.805 MB / 1.255 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/1.006, allocations: 2.041 MB / 1.257 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004951/1.011, allocations: 1.959 MB / 1.259 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01075/1.022, allocations: 7.971 MB / 1.267 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/1.037, allocations: 9.518 MB / 1.276 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007459/1.044, allocations: 3.422 MB / 1.279 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00776/1.052, allocations: 3.739 MB / 1.283 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003151/1.055, allocations: 0.6788 MB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/1.061, allocations: 1.444 MB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005239/1.067, allocations: 2.617 MB / 1.288 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007975/1.075, allocations: 3.103 MB / 1.291 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01786/1.092, allocations: 10.39 MB / 1.301 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.093, allocations: 5.094 kB / 1.301 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.836e-06/1.093, allocations: 0 / 1.301 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003977/1.093, allocations: 0 / 1.301 GB, free: 1.191 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02097/1.114, allocations: 5.401 MB / 1.306 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.114, allocations: 11.09 kB / 1.306 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003345/1.117, allocations: 0.6976 MB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007421/1.125, allocations: 0.9589 MB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/1.136, allocations: 3.181 MB / 1.311 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006067/1.136, allocations: 355.6 kB / 1.311 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002963/1.139, allocations: 472.5 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/1.163, allocations: 7.906 MB / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/1.163, allocations: 28.62 kB / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002319/1.165, allocations: 208.4 kB / 1.32 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007069/1.166, allocations: 370.2 kB / 1.32 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/1.181, allocations: 5.936 MB / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/1.23, allocations: 35.95 MB / 1.361 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/1.233, allocations: 2.141 MB / 1.363 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/1.235, allocations: 1.483 MB / 1.364 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/1.236, allocations: 20.75 kB / 1.365 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.236, allocations: 59.81 kB / 1.365 GB, free: 15.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 5.39e-06/1.236, allocations: 0 / 1.365 GB, free: 15.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01462/1.25, allocations: 7.534 MB / 1.372 GB, free: 8.012 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.25, allocations: 68.72 kB / 1.372 GB, free: 7.934 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/1.253, allocations: 1.864 MB / 1.374 GB, free: 6.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003036/1.254, allocations: 53.7 kB / 1.374 GB, free: 5.984 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.255, allocations: 2.123 MB / 1.376 GB, free: 3.844 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/1.256, allocations: 0.5561 MB / 1.376 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008449/1.257, allocations: 403.7 kB / 1.377 GB, free: 2.891 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/1.257, allocations: 305.1 kB / 1.377 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.258, allocations: 1.062 MB / 1.378 GB, free: 1.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.26, allocations: 1.757 MB / 1.38 GB, free: 15.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/1.264, allocations: 3.044 MB / 1.383 GB, free: 12.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.264, allocations: 8 kB / 1.383 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006549/1.271, allocations: 3.932 MB / 1.387 GB, free: 8.117 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.271, allocations: 16 kB / 1.387 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/1.271, allocations: 27.94 kB / 1.387 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/1.273, allocations: 0.938 MB / 1.388 GB, free: 7.102 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.275, allocations: 423.3 kB / 1.388 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/1.294, allocations: 22.75 MB / 1.41 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.297, allocations: 127.9 kB / 1.41 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/1.297, allocations: 92 kB / 1.411 GB, free: 14.06 MB / 1.107 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003551/1.301, allocations: 1.651 MB / 1.412 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007645/1.302, allocations: 257 kB / 1.412 GB, free: 12.14 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/1.307, allocations: 3.267 MB / 1.416 GB, free: 8.828 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.307, allocations: 19.94 kB / 1.416 GB, free: 8.809 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.039e-05/1.307, allocations: 12 kB / 1.416 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/1.308, allocations: 7.969 kB / 1.416 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.323, allocations: 7.549 MB / 1.423 GB, free: 1.117 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.323, allocations: 4 kB / 1.423 GB, free: 1.113 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.324, allocations: 219.7 kB / 1.423 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/1.327, allocations: 0.8882 MB / 1.424 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/1.327, allocations: 31.94 kB / 1.424 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/1.346, allocations: 22.73 MB / 1.446 GB, free: 7.559 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.346, allocations: 8.141 kB / 1.446 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.352, allocations: 3.383 MB / 1.45 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.355, allocations: 0.5292 MB / 1.45 GB, free: 3.504 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008491/1.355, allocations: 35.98 kB / 1.45 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.357, allocations: 91.83 kB / 1.45 GB, free: 3.379 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/1.358, allocations: 137 kB / 1.45 GB, free: 3.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.358, allocations: 51.94 kB / 1.45 GB, free: 3.195 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002068/1.36, allocations: 1.221 MB / 1.452 GB, free: 1.961 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.81e-07/1.36, allocations: 4 kB / 1.452 GB, free: 1.957 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004033/1.364, allocations: 0.9023 MB / 1.452 GB, free: 1.055 MB / 1.139 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006054/1.37, allocations: 3.983 MB / 1.456 GB, free: 12.95 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006833/1.377, allocations: 4.44 MB / 1.461 GB, free: 8.359 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.377, allocations: 0 / 1.461 GB, free: 8.359 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/1.381, allocations: 2.991 MB / 1.464 GB, free: 5.215 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/1.387, allocations: 0.8201 MB / 1.464 GB, free: 4.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04978/1.436, allocations: 25.05 MB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006004/1.442, allocations: 3.205 MB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002329/1.445, allocations: 0.5292 MB / 1.493 GB, free: 6.512 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/1.448, allocations: 1.647 MB / 1.494 GB, free: 4.867 MB / 1.186 GB Notification: Performance of SimCode: time 1.183e-06/1.448, allocations: 0 / 1.494 GB, free: 4.867 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/1.611, allocations: 70.98 MB / 1.563 GB, free: 14.83 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/15.18, allocations: 11.88 kB / 1.563 GB, free: 14.82 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches