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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001218/0.001218, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.56 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03343/0.27, allocations: 34.81 MB / 1.086 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.2848, allocations: 9.918 MB / 1.096 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.2873, allocations: 131.3 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.2949, allocations: 3.548 MB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.2997, allocations: 1.909 MB / 1.101 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.3042, allocations: 1.785 MB / 1.103 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.3151, allocations: 11.2 MB / 1.114 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.3284, allocations: 10.71 MB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.3331, allocations: 2.876 MB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.338, allocations: 3.797 MB / 1.131 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008123/0.3388, allocations: 464 kB / 1.131 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.3416, allocations: 1.451 MB / 1.133 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002083/0.3437, allocations: 2.397 MB / 1.135 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.3466, allocations: 2.847 MB / 1.138 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007941/0.3545, allocations: 10.18 MB / 1.148 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3546, allocations: 0 / 1.148 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3546, allocations: 7.938 kB / 1.148 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001854/0.3548, allocations: 3.938 kB / 1.148 GB, free: 5.816 MB / 0.9044 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.009141/0.3639, allocations: 5.401 MB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.364, allocations: 19.97 kB / 1.153 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008332/0.3648, allocations: 0.6945 MB / 1.154 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.369, allocations: 0.9587 MB / 1.155 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.3739, allocations: 3.003 MB / 1.158 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3742, allocations: 357.9 kB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006595/0.3749, allocations: 468.2 kB / 1.159 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.3868, allocations: 7.906 MB / 1.166 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-05/0.3869, allocations: 15.88 kB / 1.166 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.3873, allocations: 212 kB / 1.167 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004669/0.3878, allocations: 365.1 kB / 1.167 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009221/0.397, allocations: 5.945 MB / 1.173 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03388/0.431, allocations: 36.2 MB / 1.208 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.434, allocations: 2.15 MB / 1.21 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.4357, allocations: 1.473 MB / 1.212 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.627e-05/0.4358, allocations: 21.31 kB / 1.212 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.4358, allocations: 59.8 kB / 1.212 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=157): time 3.266e-06/0.4358, allocations: 0 / 1.212 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.01227/0.4481, allocations: 7.54 MB / 1.219 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.4482, allocations: 68.72 kB / 1.219 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.4502, allocations: 1.86 MB / 1.221 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.4503, allocations: 57.64 kB / 1.221 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.4515, allocations: 2.127 MB / 1.223 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.4519, allocations: 0.5584 MB / 1.224 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005449/0.4524, allocations: 395.8 kB / 1.224 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.4525, allocations: 305.1 kB / 1.224 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4539, allocations: 1.058 MB / 1.225 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.4557, allocations: 1.764 MB / 1.227 GB, free: 420 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.4591, allocations: 3.053 MB / 1.23 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.4591, allocations: 4 kB / 1.23 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005664/0.4648, allocations: 3.928 MB / 1.234 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4648, allocations: 12 kB / 1.234 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.4649, allocations: 24 kB / 1.234 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.4672, allocations: 0.9357 MB / 1.235 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4686, allocations: 423.3 kB / 1.235 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.486, allocations: 21.05 MB / 1.256 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.4878, allocations: 119.8 kB / 1.256 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4879, allocations: 96 kB / 1.256 GB, free: 0.7773 MB / 1.014 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.5316/1.02, allocations: 1.642 MB / 1.258 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/1.02, allocations: 256.1 kB / 1.258 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.026, allocations: 3.265 MB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.026, allocations: 17 kB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.026, allocations: 13.97 kB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.026, allocations: 10.88 kB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.037, allocations: 7.549 MB / 1.268 GB, free: 184.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.037, allocations: 6.953 kB / 1.268 GB, free: 184.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/1.038, allocations: 219.1 kB / 1.269 GB, free: 184.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/1.04, allocations: 0.888 MB / 1.269 GB, free: 184.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/1.041, allocations: 30 kB / 1.269 GB, free: 184.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/1.058, allocations: 21.03 MB / 1.29 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.058, allocations: 5.094 kB / 1.29 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/1.063, allocations: 3.379 MB / 1.293 GB, free: 168.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009272/1.064, allocations: 0.5279 MB / 1.294 GB, free: 168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.064, allocations: 33.64 kB / 1.294 GB, free: 168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/1.065, allocations: 102.4 kB / 1.294 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.065, allocations: 139.3 kB / 1.294 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.066, allocations: 42.09 kB / 1.294 GB, free: 167.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001597/1.067, allocations: 1.226 MB / 1.295 GB, free: 167.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.067, allocations: 0 / 1.295 GB, free: 167.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002583/1.07, allocations: 0.9038 MB / 1.296 GB, free: 167.3 MB / 1.014 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.005225/1.075, allocations: 3.991 MB / 1.3 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005847/1.081, allocations: 4.413 MB / 1.304 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/1.081, allocations: 6.281 kB / 1.304 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003844/1.085, allocations: 2.995 MB / 1.307 GB, free: 160.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/1.088, allocations: 0.7628 MB / 1.308 GB, free: 160.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/1.122, allocations: 29.5 MB / 1.337 GB, free: 141.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.124, allocations: 3.209 MB / 1.34 GB, free: 138 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001673/1.126, allocations: 0.5294 MB / 1.341 GB, free: 137.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.127, allocations: 1.655 MB / 1.342 GB, free: 135.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.127, allocations: 0 / 1.342 GB, free: 135.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7428/1.87, allocations: 69.23 MB / 1.41 GB, free: 67.45 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.87, allocations: 248.1 kB / 1.41 GB, free: 67.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/5.031, allocations: 3.938 kB / 1.41 GB, free: 67.2 MB / 1.014 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