Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001083/0.001083, allocations: 86.72 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.001513/0.001513, 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.499/1.499, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.706/2.706, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003852, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01899/0.7661, allocations: 18.4 MB / 0.9991 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009791/0.7759, allocations: 6.122 MB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.7778, allocations: 75.56 kB / 1.005 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.7794, allocations: 396.9 kB / 1.006 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.7824, allocations: 0.956 MB / 1.006 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.7851, allocations: 0.7669 MB / 1.007 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006284/0.7914, allocations: 5.488 MB / 1.013 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.803, allocations: 6.394 MB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.8067, allocations: 1.51 MB / 1.02 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.8109, allocations: 1.978 MB / 1.022 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.8119, allocations: 176 kB / 1.022 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.8142, allocations: 479.5 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.8164, allocations: 1.344 MB / 1.024 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.8182, allocations: 0.6485 MB / 1.025 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.8244, allocations: 5.376 MB / 1.03 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.8244, allocations: 4 kB / 1.03 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.417e-06/0.8244, allocations: 0 / 1.03 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002142/0.8247, allocations: 4 kB / 1.03 GB, free: 3.973 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007206/0.8319, allocations: 2.847 MB / 1.033 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.832, allocations: 8.031 kB / 1.033 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.8339, allocations: 462.3 kB / 1.033 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.8383, allocations: 0.6402 MB / 1.034 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.8427, allocations: 1.896 MB / 1.036 GB, free: 13.99 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.8429, allocations: 222 kB / 1.036 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007236/0.8437, allocations: 295.9 kB / 1.036 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009211/0.8529, allocations: 4.859 MB / 1.041 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.561e-05/0.853, allocations: 23.77 kB / 1.041 GB, free: 8.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/0.8533, allocations: 124 kB / 1.041 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.8538, allocations: 225.7 kB / 1.041 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006959/0.8608, allocations: 3.735 MB / 1.045 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.8848, allocations: 21.6 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.8868, allocations: 1.3 MB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.8884, allocations: 1.038 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.8885, allocations: 13 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.8886, allocations: 47.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=107): time 3.596e-06/0.8886, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=138): time 0.02233/0.9109, allocations: 8.67 MB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.911, allocations: 72.7 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9126, allocations: 1.115 MB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.9127, allocations: 49.7 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008682/0.9136, allocations: 1.3 MB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/0.914, allocations: 481.1 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.9141, allocations: 32 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9143, allocations: 373.9 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.9156, allocations: 0.9096 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.9171, allocations: 1.322 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.9186, allocations: 1.131 MB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9186, allocations: 4 kB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005687/0.9243, allocations: 3.442 MB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.9244, allocations: 9.719 kB / 1.087 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.9244, allocations: 15.94 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/0.9274, allocations: 1.194 MB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/0.9283, allocations: 251.6 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/0.9441, allocations: 12.7 MB / 1.101 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9457, allocations: 91.97 kB / 1.101 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.9458, allocations: 67.92 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002393/0.9482, allocations: 1.122 MB / 1.102 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.9487, allocations: 162 kB / 1.102 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/0.9543, allocations: 3.158 MB / 1.105 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.9543, allocations: 19.95 kB / 1.105 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.9544, allocations: 12 kB / 1.105 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.9544, allocations: 7.969 kB / 1.105 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.965, allocations: 6.23 MB / 1.111 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.965, allocations: 8.062 kB / 1.111 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.9656, allocations: 148.1 kB / 1.111 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.9683, allocations: 1.072 MB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/0.9684, allocations: 24 kB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.9835, allocations: 12.43 MB / 1.125 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9835, allocations: 7.938 kB / 1.125 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.9887, allocations: 3.139 MB / 1.128 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/0.9896, allocations: 430.9 kB / 1.128 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.9899, allocations: 32 kB / 1.128 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/0.9906, allocations: 83.83 kB / 1.128 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/0.9909, allocations: 129.1 kB / 1.128 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.991, allocations: 44 kB / 1.128 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001073/0.9921, allocations: 0.7514 MB / 1.129 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9921, allocations: 0 / 1.129 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002218/0.9944, allocations: 0.6602 MB / 1.13 GB, free: 10.06 MB / 0.8887 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005215/0.9996, allocations: 3.724 MB / 1.133 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004871/1.004, allocations: 3.127 MB / 1.137 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.005, allocations: 0 / 1.137 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/1.008, allocations: 1.959 MB / 1.138 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.01, allocations: 470.7 kB / 1.139 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.037, allocations: 15.1 MB / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/1.039, allocations: 2.34 MB / 1.156 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001203/1.041, allocations: 362.1 kB / 1.156 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.042, allocations: 0.9992 MB / 1.157 GB, free: 13.23 MB / 0.92 GB Notification: Performance of SimCode: time 9.12e-07/1.042, allocations: 0 / 1.157 GB, free: 13.23 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07974/1.122, allocations: 49.35 MB / 1.205 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.122, allocations: 244.7 kB / 1.206 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.911, allocations: 3.938 kB / 1.206 GB, free: 12.31 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N_res.mat does not exist to compare? outputFormat=mat