Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001467/0.001467, allocations: 99.86 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.002048/0.002048, allocations: 177.3 kB / 15.95 MB, free: 216 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.486/2.486, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.108/5.108, allocations: 409.2 MB / 0.6838 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006699/0.0006703, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898/1.899, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.01086/1.91, allocations: 5.269 MB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008917/1.919, allocations: 2.983 MB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.921, allocations: 27.75 kB / 0.989 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007012/1.921, allocations: 115.2 kB / 0.9891 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/1.924, allocations: 350.9 kB / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/1.926, allocations: 377.6 kB / 0.9898 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002165/1.928, allocations: 0.6492 MB / 0.9904 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/1.931, allocations: 0.9091 MB / 0.9913 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/1.932, allocations: 330.8 kB / 0.9916 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000954/1.933, allocations: 350.7 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/1.933, allocations: 31.94 kB / 0.992 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/1.934, allocations: 203.6 kB / 0.9922 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/1.934, allocations: 231.3 kB / 0.9924 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/1.935, allocations: 165.3 kB / 0.9925 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/1.936, allocations: 0.8321 MB / 0.9934 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.936, allocations: 4 kB / 0.9934 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.32e-06/1.936, allocations: 0 / 0.9934 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.936, allocations: 4 kB / 0.9934 GB, free: 9.469 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002602/1.939, allocations: 0.9076 MB / 0.9942 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.904e-05/1.939, allocations: 8.031 kB / 0.9943 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/1.939, allocations: 126.5 kB / 0.9944 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.942, allocations: 206.8 kB / 0.9946 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/1.943, allocations: 0.5249 MB / 0.9951 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/1.944, allocations: 45.31 kB / 0.9951 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.944, allocations: 71.84 kB / 0.9952 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.947, allocations: 1.014 MB / 0.9962 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/1.947, allocations: 11.94 kB / 0.9962 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.947, allocations: 28 kB / 0.9962 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/1.947, allocations: 73.27 kB / 0.9963 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.949, allocations: 0.684 MB / 0.997 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/1.959, allocations: 5.764 MB / 1.003 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/1.961, allocations: 0.5957 MB / 1.003 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/1.961, allocations: 4 kB / 1.003 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/1.961, allocations: 34.56 kB / 1.003 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 7.143e-06/1.961, allocations: 4 kB / 1.003 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.007346/1.969, allocations: 1.893 MB / 1.005 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/1.969, allocations: 55.41 kB / 1.005 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.97, allocations: 470.7 kB / 1.006 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/1.97, allocations: 33.7 kB / 1.006 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000454/1.97, allocations: 387 kB / 1.006 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.971, allocations: 153.8 kB / 1.006 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/1.971, allocations: 12 kB / 1.006 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002591/1.971, allocations: 362.8 kB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/1.972, allocations: 233.2 kB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/1.972, allocations: 441 kB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/1.973, allocations: 295.7 kB / 1.007 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.973, allocations: 4 kB / 1.007 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00304/1.976, allocations: 0.9798 MB / 1.008 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.976, allocations: 17.19 kB / 1.008 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.976, allocations: 8 kB / 1.008 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/1.978, allocations: 263.7 kB / 1.009 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/1.978, allocations: 107.8 kB / 1.009 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.989, allocations: 6.743 MB / 1.015 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.991, allocations: 40.36 kB / 1.015 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/1.991, allocations: 28 kB / 1.015 GB, free: 1.418 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007831/1.992, allocations: 237.6 kB / 1.016 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.992, allocations: 59.34 kB / 1.016 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.994, allocations: 0.8337 MB / 1.016 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.994, allocations: 8 kB / 1.016 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.994, allocations: 4 kB / 1.016 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.994, allocations: 4 kB / 1.016 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/2, allocations: 1.714 MB / 1.018 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/2, allocations: 0 / 1.018 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/2.001, allocations: 43.97 kB / 1.018 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/2.002, allocations: 251.3 kB / 1.018 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/2.002, allocations: 8 kB / 1.018 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/2.012, allocations: 6.468 MB / 1.025 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/2.013, allocations: 4.062 kB / 1.025 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/2.016, allocations: 0.9625 MB / 1.026 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/2.016, allocations: 176.3 kB / 1.026 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/2.016, allocations: 8 kB / 1.026 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/2.017, allocations: 19.97 kB / 1.026 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/2.017, allocations: 47.89 kB / 1.026 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/2.017, allocations: 15.94 kB / 1.026 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005917/2.018, allocations: 306.9 kB / 1.026 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/2.018, allocations: 0 / 1.026 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001539/2.019, allocations: 188 kB / 1.026 GB, free: 5.289 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003337/2.023, allocations: 1.947 MB / 1.028 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003153/2.026, allocations: 1.124 MB / 1.029 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/2.026, allocations: 12.06 kB / 1.029 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/2.029, allocations: 0.8034 MB / 1.03 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/2.031, allocations: 178.4 kB / 1.03 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/2.044, allocations: 8.415 MB / 1.039 GB, free: 8.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/2.046, allocations: 1 MB / 1.04 GB, free: 7.402 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007216/2.046, allocations: 109.2 kB / 1.04 GB, free: 7.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/2.047, allocations: 231.4 kB / 1.04 GB, free: 7.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.745e-06/2.047, allocations: 0 / 1.04 GB, free: 7.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/2.176, allocations: 14 MB / 1.054 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005245/2.176, allocations: 222.2 kB / 1.054 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/6.424, allocations: 1.375 kB / 1.054 GB, free: 9.141 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat