Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_R,fileNamePrefix="Buildings_9_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_9_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.0008229/0.0008229, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0009171/0.000917, allocations: 172.9 kB / 16.27 MB, free: 6.664 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5449, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03108/0.5761, allocations: 33.99 MB / 0.9884 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.5906, allocations: 9.832 MB / 0.998 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.5928, allocations: 127.2 kB / 0.9981 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.5943, allocations: 0.7016 MB / 0.9988 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.5981, allocations: 1.913 MB / 1.001 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.6012, allocations: 1.608 MB / 1.002 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009846/0.611, allocations: 11.19 MB / 1.013 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.6275, allocations: 12.16 MB / 1.025 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.6316, allocations: 2.412 MB / 1.027 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.6357, allocations: 3.211 MB / 1.031 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.6363, allocations: 280 kB / 1.031 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.6386, allocations: 1.271 MB / 1.032 GB, free: 404 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.6405, allocations: 2.108 MB / 1.034 GB, free: 14.28 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.6431, allocations: 2.524 MB / 1.037 GB, free: 11.74 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007934/0.651, allocations: 9.866 MB / 1.046 GB, free: 1.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.651, allocations: 0 / 1.046 GB, free: 1.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.651, allocations: 0 / 1.046 GB, free: 1.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000119/0.6512, allocations: 0 / 1.046 GB, free: 1.84 MB / 0.795 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.007566/0.6587, allocations: 4.364 MB / 1.05 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6588, allocations: 12.03 kB / 1.05 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.6599, allocations: 0.6945 MB / 1.051 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/0.6642, allocations: 0.9627 MB / 1.052 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.6686, allocations: 2.991 MB / 1.055 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.6688, allocations: 361.9 kB / 1.055 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006692/0.6695, allocations: 468.2 kB / 1.056 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.6814, allocations: 7.91 MB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-05/0.6815, allocations: 15.88 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/0.682, allocations: 212 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000523/0.6825, allocations: 365 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.6918, allocations: 5.941 MB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.7275, allocations: 36.25 MB / 1.105 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.7306, allocations: 2.142 MB / 1.107 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.7325, allocations: 1.48 MB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.7325, allocations: 17.31 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.7326, allocations: 59.81 kB / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 3.226e-06/0.7326, allocations: 0 / 1.109 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01283/0.7454, allocations: 7.575 MB / 1.116 GB, free: 6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7455, allocations: 72.66 kB / 1.116 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.748, allocations: 1.86 MB / 1.118 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.7481, allocations: 53.7 kB / 1.118 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.7494, allocations: 2.127 MB / 1.12 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.7499, allocations: 0.5507 MB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.7501, allocations: 178.1 kB / 1.121 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.7502, allocations: 309.1 kB / 1.121 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.7518, allocations: 1.058 MB / 1.122 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.7537, allocations: 1.768 MB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.7572, allocations: 3.041 MB / 1.127 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.7572, allocations: 8 kB / 1.127 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006131/0.7633, allocations: 3.928 MB / 1.131 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.7634, allocations: 17.19 kB / 1.131 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.7634, allocations: 28 kB / 1.131 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.7657, allocations: 0.9352 MB / 1.132 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.7672, allocations: 427.3 kB / 1.132 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.7858, allocations: 21.08 MB / 1.153 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.7877, allocations: 127.8 kB / 1.153 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.788, allocations: 96.06 kB / 1.153 GB, free: 13.96 MB / 0.92 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.002832/0.7908, allocations: 1.641 MB / 1.155 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/0.7914, allocations: 253.1 kB / 1.155 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/0.797, allocations: 3.263 MB / 1.158 GB, free: 8.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.797, allocations: 12 kB / 1.158 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/0.7971, allocations: 16 kB / 1.158 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.7971, allocations: 11.91 kB / 1.158 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.8086, allocations: 7.553 MB / 1.165 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8086, allocations: 4 kB / 1.165 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000923/0.8095, allocations: 215.7 kB / 1.166 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/0.8118, allocations: 0.8969 MB / 1.167 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.812, allocations: 32 kB / 1.167 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.8311, allocations: 21.04 MB / 1.187 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.8312, allocations: 7.938 kB / 1.187 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/0.8367, allocations: 3.379 MB / 1.19 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.8378, allocations: 0.537 MB / 1.191 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.8383, allocations: 36 kB / 1.191 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.8395, allocations: 87.89 kB / 1.191 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.8399, allocations: 144.9 kB / 1.191 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.84, allocations: 48.19 kB / 1.191 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001749/0.8418, allocations: 1.225 MB / 1.192 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8418, allocations: 0 / 1.192 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00265/0.8444, allocations: 0.9023 MB / 1.193 GB, free: 2.652 MB / 0.9512 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.005469/0.8499, allocations: 3.991 MB / 1.197 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006641/0.8566, allocations: 4.42 MB / 1.202 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.8566, allocations: 0 / 1.202 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/0.861, allocations: 3 MB / 1.205 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/0.8661, allocations: 0.7696 MB / 1.205 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04193/0.9081, allocations: 29.52 MB / 1.234 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003702/0.9118, allocations: 3.205 MB / 1.237 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001701/0.9135, allocations: 0.5215 MB / 1.238 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/0.9153, allocations: 1.651 MB / 1.239 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.9154, allocations: 4 kB / 1.239 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.599/3.514, allocations: 68.29 MB / 1.306 GB, free: 248.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/3.514, allocations: 245.4 kB / 1.306 GB, free: 248.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/7.151, allocations: 0 / 1.306 GB, free: 248.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches