Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001815/0.001815, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.002629/0.002629, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.728/2.728, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.777/4.777, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007605/0.0007611, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804/1.804, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0541/1.859, allocations: 28.84 MB / 1.009 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0403/1.899, allocations: 13.8 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007527/1.907, allocations: 127.2 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.007794/1.915, allocations: 0.6987 MB / 1.023 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0178/1.932, allocations: 2.274 MB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/1.943, allocations: 1.405 MB / 1.027 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02042/1.963, allocations: 4.584 MB / 1.031 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03024/1.994, allocations: 9.863 MB / 1.041 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/2.006, allocations: 2.625 MB / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/2.017, allocations: 2.417 MB / 1.046 GB, free: 3.438 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003329/2.02, allocations: 296 kB / 1.046 GB, free: 3.148 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006358/2.027, allocations: 0.6945 MB / 1.047 GB, free: 2.453 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.007262/2.034, allocations: 2.108 MB / 1.049 GB, free: 348 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006585/2.041, allocations: 1.132 MB / 1.05 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02457/2.065, allocations: 9.029 MB / 1.059 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/2.065, allocations: 0 / 1.059 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.338e-06/2.065, allocations: 0 / 1.059 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0006058/2.066, allocations: 0 / 1.059 GB, free: 6.148 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02769/2.094, allocations: 4.857 MB / 1.064 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/2.094, allocations: 12.03 kB / 1.064 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005214/2.099, allocations: 0.7269 MB / 1.064 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/2.115, allocations: 1.125 MB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/2.131, allocations: 3.236 MB / 1.069 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/2.132, allocations: 370 kB / 1.069 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003735/2.136, allocations: 0.4919 MB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/2.177, allocations: 7.923 MB / 1.077 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005379/2.178, allocations: 19.83 kB / 1.077 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003653/2.181, allocations: 216 kB / 1.077 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002452/2.184, allocations: 445.4 kB / 1.078 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02967/2.213, allocations: 6.046 MB / 1.084 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09583/2.309, allocations: 35.22 MB / 1.118 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/2.315, allocations: 2.018 MB / 1.12 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/2.316, allocations: 21.94 kB / 1.12 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/2.316, allocations: 56.56 kB / 1.12 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 6.632e-06/2.316, allocations: 4 kB / 1.12 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.2662/2.582, allocations: 38.97 MB / 1.158 GB, free: 12.65 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/2.582, allocations: 77.58 kB / 1.158 GB, free: 12.56 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/2.589, allocations: 2.254 MB / 1.161 GB, free: 10.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0009089/2.59, allocations: 73.7 kB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003418/2.594, allocations: 2.28 MB / 1.163 GB, free: 7.906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002171/2.596, allocations: 0.9357 MB / 1.164 GB, free: 6.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/2.596, allocations: 64 kB / 1.164 GB, free: 6.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0005614/2.597, allocations: 428.1 kB / 1.164 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/2.602, allocations: 1.958 MB / 1.166 GB, free: 4.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006709/2.609, allocations: 2.575 MB / 1.169 GB, free: 1.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/2.616, allocations: 2.376 MB / 1.171 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-05/2.616, allocations: 8 kB / 1.171 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02869/2.645, allocations: 7.717 MB / 1.178 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/2.645, allocations: 21.72 kB / 1.178 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.077e-05/2.645, allocations: 20 kB / 1.179 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/2.662, allocations: 3.202 MB / 1.182 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/2.665, allocations: 399.3 kB / 1.182 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08499/2.75, allocations: 32.36 MB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/2.756, allocations: 159.8 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009239/2.757, allocations: 108 kB / 1.214 GB, free: 2.422 MB / 0.9669 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 (202): * Single equations (assignments): 196 * 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 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008702/2.766, allocations: 1.799 MB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/2.768, allocations: 328.1 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/2.795, allocations: 7.334 MB / 1.223 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.119e-05/2.795, allocations: 35.89 kB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001562/2.795, allocations: 28 kB / 1.223 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.225e-05/2.796, allocations: 15.94 kB / 1.223 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04811/2.844, allocations: 12.89 MB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-05/2.844, allocations: 4.844 kB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/2.846, allocations: 231.6 kB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/2.863, allocations: 2.85 MB / 1.239 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008459/2.863, allocations: 56 kB / 1.239 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589/4.453, allocations: 31.19 MB / 1.269 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-05/4.453, allocations: 11.69 kB / 1.269 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/4.478, allocations: 7.414 MB / 1.277 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004448/4.482, allocations: 0.7853 MB / 1.277 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/4.484, allocations: 48.34 kB / 1.277 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/4.489, allocations: 167.9 kB / 1.278 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002512/4.492, allocations: 253.6 kB / 1.278 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007247/4.493, allocations: 72.06 kB / 1.278 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005591/4.498, allocations: 1.501 MB / 1.279 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.312e-06/4.498, allocations: 0 / 1.279 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01217/4.511, allocations: 1.371 MB / 1.281 GB, free: 226.1 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 (105): * Single equations (assignments): 99 * 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 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0248/4.535, allocations: 9.658 MB / 1.29 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02113/4.557, allocations: 6.916 MB / 1.297 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/4.557, allocations: 0 / 1.297 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01456/4.571, allocations: 4.414 MB / 1.301 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/4.582, allocations: 0.9945 MB / 1.302 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/4.688, allocations: 43.79 MB / 1.345 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/4.699, allocations: 3.733 MB / 1.349 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004858/4.704, allocations: 0.5595 MB / 1.349 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004664/4.709, allocations: 1.972 MB / 1.351 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.484e-06/4.709, allocations: 0 / 1.351 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3844/5.093, allocations: 107.3 MB / 1.456 GB, free: 53.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005376/5.094, allocations: 224.5 kB / 1.456 GB, free: 53.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.308/14.4, allocations: 0 / 1.456 GB, free: 53.23 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat does not exist to compare? outputFormat=mat