Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0009469/0.000947, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00119/0.001191, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.651/2.651, allocations: 409.4 MB / 0.684 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 15.92 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8346, allocations: 146.8 MB / 0.9812 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02177/0.8564, allocations: 20.53 MB / 1.001 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.868, allocations: 5.939 MB / 1.007 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.8704, allocations: 83.5 kB / 1.007 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.872, allocations: 420.7 kB / 1.007 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.8763, allocations: 1.346 MB / 1.009 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.8793, allocations: 0.8243 MB / 1.01 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008332/0.8877, allocations: 6.901 MB / 1.016 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.8992, allocations: 6.207 MB / 1.022 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.9031, allocations: 1.817 MB / 1.024 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005102/0.9082, allocations: 2.558 MB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.9094, allocations: 200 kB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.912, allocations: 0.5463 MB / 1.027 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.9157, allocations: 1.723 MB / 1.029 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002624/0.9183, allocations: 0.7303 MB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008166/0.9265, allocations: 5.994 MB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.9266, allocations: 0 / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9266, allocations: 0 / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002784/0.9269, allocations: 0 / 1.036 GB, free: 14.3 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008097/0.935, allocations: 3.115 MB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.9351, allocations: 8.031 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001848/0.9369, allocations: 0.5013 MB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006616/0.9435, allocations: 1.216 MB / 1.04 GB, free: 9.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.9485, allocations: 2.154 MB / 1.042 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.9488, allocations: 246.3 kB / 1.043 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.95, allocations: 319.8 kB / 1.043 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.9665, allocations: 6.189 MB / 1.049 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.9667, allocations: 7.938 kB / 1.049 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.9679, allocations: 143.9 kB / 1.049 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006614/0.9686, allocations: 406.2 kB / 1.05 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.9803, allocations: 4.647 MB / 1.054 GB, free: 10.97 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04211/1.023, allocations: 29.06 MB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/1.025, allocations: 1.42 MB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/1.027, allocations: 1.483 MB / 1.085 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/1.027, allocations: 13 kB / 1.085 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.027, allocations: 43.56 kB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/1.027, allocations: 0 / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.1236/1.151, allocations: 36.31 MB / 1.121 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/1.151, allocations: 73.41 kB / 1.121 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/1.153, allocations: 1.415 MB / 1.122 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.153, allocations: 53.7 kB / 1.122 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.154, allocations: 1.535 MB / 1.124 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006507/1.155, allocations: 0.6123 MB / 1.124 GB, free: 96 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.155, allocations: 40 kB / 1.124 GB, free: 56 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.156, allocations: 386 kB / 1.125 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.158, allocations: 1.78 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002958/1.161, allocations: 2.339 MB / 1.129 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/1.164, allocations: 2.055 MB / 1.131 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.164, allocations: 4 kB / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01702/1.181, allocations: 8.536 MB / 1.139 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/1.181, allocations: 15.94 kB / 1.139 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.181, allocations: 20 kB / 1.139 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01355/1.195, allocations: 4.638 MB / 1.144 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.196, allocations: 299.5 kB / 1.144 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05648/1.252, allocations: 29.43 MB / 1.173 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/1.256, allocations: 151.8 kB / 1.173 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006235/1.257, allocations: 80 kB / 1.173 GB, free: 13.2 MB / 0.9356 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004441/1.262, allocations: 1.329 MB / 1.174 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009549/1.263, allocations: 205.6 kB / 1.175 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03328/1.296, allocations: 8.422 MB / 1.183 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/1.296, allocations: 19.98 kB / 1.183 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001275/1.296, allocations: 28 kB / 1.183 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.776e-05/1.296, allocations: 7.969 kB / 1.183 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04157/1.338, allocations: 12.82 MB / 1.195 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/1.338, allocations: 12 kB / 1.195 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/1.339, allocations: 167.6 kB / 1.196 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/1.352, allocations: 4.488 MB / 1.2 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003517/1.352, allocations: 40 kB / 1.2 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0422/1.395, allocations: 29.05 MB / 1.228 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.395, allocations: 15.92 kB / 1.228 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.411, allocations: 8.217 MB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.413, allocations: 0.6234 MB / 1.237 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007318/1.414, allocations: 36 kB / 1.237 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.415, allocations: 135.8 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000881/1.416, allocations: 176.8 kB / 1.237 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.416, allocations: 48 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001791/1.418, allocations: 0.9431 MB / 1.238 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.418, allocations: 4 kB / 1.238 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004394/1.422, allocations: 1.117 MB / 1.239 GB, free: 8.117 MB / 0.9981 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6479/2.07, allocations: 8.802 MB / 1.248 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02031/2.091, allocations: 6.411 MB / 1.254 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/2.091, allocations: 7.125 kB / 1.254 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/2.102, allocations: 4.288 MB / 1.258 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/2.105, allocations: 496.2 kB / 1.259 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/2.145, allocations: 24.52 MB / 1.283 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003826/2.149, allocations: 2.722 MB / 1.285 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002031/2.151, allocations: 391.5 kB / 1.286 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/2.153, allocations: 1.218 MB / 1.287 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.254e-06/2.153, allocations: 0 / 1.287 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/2.266, allocations: 78.68 MB / 1.364 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/2.266, allocations: 246.2 kB / 1.364 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/5.712, allocations: 0 / 1.364 GB, free: 151.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat does not exist to compare? outputFormat=mat